Wireshark
4.5.0
The Wireshark network protocol analyzer
Toggle main menu visibility
Main Page
Related Pages
Topics
Namespaces
Namespace List
Namespace Members
All
Variables
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
a
b
c
d
e
f
g
h
i
m
o
p
r
s
t
u
v
w
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
Functions
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
Variables
Typedefs
a
b
c
d
e
f
g
h
i
m
p
r
s
t
u
v
w
Enumerations
Enumerator
a
b
c
e
f
h
i
n
o
r
s
t
w
Macros
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
Loading...
Searching...
No Matches
epan
conversation_debug.h
Go to the documentation of this file.
1
15
#ifndef _CONVERSATION_DEBUG_H
16
#define _CONVERSATION_DEBUG_H
17
18
#ifdef DEBUG_CONVERSATION
19
20
#include <stdio.h>
21
#include "to_str.h"
22
23
extern
int
_debug_conversation_indent;
/* the instance is in conversation.c */
24
25
#define DINDENT() _debug_conversation_indent += 4
26
#define DENDENT() _debug_conversation_indent -= 4
27
28
#define DPRINT(arg) \
29
g_printerr("%*.*s%s: ", \
30
_debug_conversation_indent,_debug_conversation_indent," ", \
31
G_STRLOC); \
32
g_printerr arg; \
33
g_printerr("\n")
34
35
#define DPRINT2(arg) \
36
g_printerr("%*.*s", \
37
_debug_conversation_indent,_debug_conversation_indent," "); \
38
g_printerr arg; \
39
g_printerr("\n")
40
41
#define DINSTR(arg) arg
42
43
#else
/* !DEBUG_CONVERSATION */
44
45
/* a hack to let these defines be used with trailing semi-colon and not
46
* cause gcc extra-check pedantic warnings for extra colons
47
*/
48
#define DINDENT() (void)0
49
#define DENDENT() (void)0
50
#define DPRINT(arg) (void)0
51
#define DPRINT2(arg) (void)0
52
#define DINSTR(arg) (void)0
53
54
#endif
/* DEBUG_CONVERSATION */
55
56
#endif
/* _CONVERSATION_DEBUG_H */
Generated by
1.9.8