35 #define NSTR(str) ((str)? (str): "(null)") 39 #define g_debug(format...) g_log(G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, format) 44 #define g_info(format...) g_log(G_LOG_DOMAIN, G_LOG_LEVEL_INFO, format) 48 #ifndef MW_MAILME_ADDRESS 50 #define MW_MAILME_ADDRESS "meanwhile-devel@lists.sourceforge.net" 54 #ifndef MW_MAILME_CUT_START 55 #define MW_MAILME_CUT_START "-------- begin copy --------" 59 #ifndef MW_MAILME_CUT_STOP 60 #define MW_MAILME_CUT_STOP "--------- end copy ---------" 64 #ifndef MW_MAILME_MESSAGE 67 #define MW_MAILME_MESSAGE "\n" \ 68 " Greetings! It seems that you've run across protocol data that the\n" \ 69 "Meanwhile library does not yet know about. As such, there may be\n" \ 70 "some unexpected behaviour in this session. If you'd like to help\n" \ 71 "resolve this issue, please copy and paste the following block into\n" \ 72 "an email to the address listed below with a brief explanation of\n" \ 73 "what you were doing at the time of this message. Thanks a lot!" 78 const char *info, va_list args);
82 const char *info, ...);
92 const char *info, va_list args);
95 const char *info, ...);
void mw_debug_datav(const guchar *buf, gsize len, const char *info, va_list args)
void mw_debug_data(const guchar *buf, gsize len, const char *info,...)
void mw_mailme_opaquev(struct mwOpaque *o, const char *info, va_list args)
Outputs a hex dump of a mwOpaque with debugging info and a pre-defined message.
void mw_debug_opaque(struct mwOpaque *o, const char *info,...)
void mw_mailme_datav(const guchar *buf, gsize len, const char *info, va_list args)
void mw_mailme_opaque(struct mwOpaque *o, const char *info,...)
Outputs a hex dump of a mwOpaque with debugging info and a pre-defined message.
Common data types and functions for handling those types.
void mw_mailme_data(const guchar *buf, gsize len, const char *info,...)
A length of binary data, not null-terminated.
Definition: mw_common.h:79
void mw_debug_opaquev(struct mwOpaque *o, const char *info, va_list args)