libUPnP
1.8.0
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
ixml
inc
ixmldebug.h
Go to the documentation of this file.
1
2
3
#ifndef IXMLDEBUG_H
4
#define IXMLDEBUG_H
5
6
7
#include "
UpnpGlobal.h
"
8
#include "
ixml.h
"
9
10
22
#ifdef DEBUG
23
void
IxmlPrintf
(
25
const
char
*DbgFileName,
28
int
DbgLineNo,
30
const
char
*FunctionName,
32
const
char
* FmtStr,
35
...)
36
#if (__GNUC__ >= 3)
37
/* This enables printf like format checking by the compiler */
38
__attribute__((format (__printf__, 4, 5)))
39
#endif
40
;
41
#else
/* DEBUG */
42
static
UPNP_INLINE
void
IxmlPrintf
(
43
const
char
* FmtStr,
44
...) {}
45
#endif
/* DEBUG */
46
47
51
#ifdef DEBUG
52
void
printNodes
(
54
IXML_Node
*tmpRoot,
56
int
depth);
57
#else
58
static
UPNP_INLINE
void
printNodes
(
59
IXML_Node
*tmpRoot,
60
int
depth)
61
{
62
}
63
#endif
64
65
66
#endif
/* IXMLDEBUG_H */
67
Generated on Fri Feb 1 2013 22:07:44 for libUPnP by
1.8.1.2