4
#include "../orb-core/orbit-debug.h"
8
#define do_giop_dump(fh, ptr, len, off)
9
#define do_giop_dump_send(buff)
10
#define do_giop_dump_recv(buff)
12
#else /* G_ENABLE_DEBUG */
14
#define do_giop_dump(fh, ptr, len, off) G_STMT_START { \
15
if (_orbit_debug_flags & ORBIT_DEBUG_GIOP) \
16
giop_dump (fh, ptr, len, off); \
19
#define do_giop_dump_send(buff) G_STMT_START { \
20
if (_orbit_debug_flags & ORBIT_DEBUG_GIOP) \
21
giop_dump_send (buff); \
24
#define do_giop_dump_recv(buff) G_STMT_START { \
25
if (_orbit_debug_flags & ORBIT_DEBUG_GIOP) \
26
giop_dump_recv (buff); \
29
#endif /* G_ENABLE_DEBUG */
31
void giop_dump (FILE *out, guint8 const *ptr, guint32 len, guint32 offset);
32
void giop_dump_send (GIOPSendBuffer *send_buffer);
33
void giop_dump_recv (GIOPRecvBuffer *recv_buffer);
35
#endif /* __GIOP_DEBUG__ */