5
* Enables debug on the Unix socket / connection
8
# define CONNECTION_DEBUG /* Temporary... */
10
# undef CONNECTION_DEBUG
13
#ifndef CONNECTION_DEBUG
14
#ifdef G_HAVE_ISO_VARARGS
15
# define d_printf(...)
16
#elif defined(G_HAVE_GNUC_VARARGS)
17
# define d_printf(args...)
19
static inline void d_printf (const char *format, ...)
23
# define STATE_NAME(s) ""
26
# define d_printf(format...) fprintf (stderr, format)
27
# define STATE_NAME(s) (((s) == LINK_CONNECTED) ? "Connected" : \
28
((s) == LINK_CONNECTING) ? "Connecting" : \
29
((s) == LINK_DISCONNECTED) ? "Disconnected" : \
33
#endif /* _LINK_DEBUG_H */