\doxysection{mw\+\_\+debug.\+h}
\hypertarget{mw__debug_8h_source}{}\label{mw__debug_8h_source}\index{mw\_debug.h@{mw\_debug.h}}
\mbox{\hyperlink{mw__debug_8h}{Go to the documentation of this file.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ }
\DoxyCodeLine{00002\ \textcolor{comment}{/*}}
\DoxyCodeLine{00003\ \textcolor{comment}{\ \ Meanwhile\ -\/\ Unofficial\ Lotus\ Sametime\ Community\ Client\ Library}}
\DoxyCodeLine{00004\ \textcolor{comment}{\ \ Copyright\ (C)\ 2004\ \ Christopher\ (siege)\ O'Brien}}
\DoxyCodeLine{00005\ \textcolor{comment}{\ \ }}
\DoxyCodeLine{00006\ \textcolor{comment}{\ \ This\ library\ is\ free\ software;\ you\ can\ redistribute\ it\ and/or}}
\DoxyCodeLine{00007\ \textcolor{comment}{\ \ modify\ it\ under\ the\ terms\ of\ the\ GNU\ Library\ General\ Public}}
\DoxyCodeLine{00008\ \textcolor{comment}{\ \ License\ as\ published\ by\ the\ Free\ Software\ Foundation;\ either}}
\DoxyCodeLine{00009\ \textcolor{comment}{\ \ version\ 2\ of\ the\ License,\ or\ (at\ your\ option)\ any\ later\ version.}}
\DoxyCodeLine{00010\ \textcolor{comment}{\ \ }}
\DoxyCodeLine{00011\ \textcolor{comment}{\ \ This\ library\ is\ distributed\ in\ the\ hope\ that\ it\ will\ be\ useful,}}
\DoxyCodeLine{00012\ \textcolor{comment}{\ \ but\ WITHOUT\ ANY\ WARRANTY;\ without\ even\ the\ implied\ warranty\ of}}
\DoxyCodeLine{00013\ \textcolor{comment}{\ \ MERCHANTABILITY\ or\ FITNESS\ FOR\ A\ PARTICULAR\ PURPOSE.\ \ See\ the\ GNU}}
\DoxyCodeLine{00014\ \textcolor{comment}{\ \ Library\ General\ Public\ License\ for\ more\ details.}}
\DoxyCodeLine{00015\ \textcolor{comment}{\ \ }}
\DoxyCodeLine{00016\ \textcolor{comment}{\ \ You\ should\ have\ received\ a\ copy\ of\ the\ GNU\ Library\ General\ Public}}
\DoxyCodeLine{00017\ \textcolor{comment}{\ \ License\ along\ with\ this\ library;\ if\ not,\ write\ to\ the\ Free}}
\DoxyCodeLine{00018\ \textcolor{comment}{\ \ Foundation,\ Inc.,\ 59\ Temple\ Place,\ Suite\ 330,\ Boston,\ MA\ \ 02111-\/1307\ \ USA}}
\DoxyCodeLine{00019\ \textcolor{comment}{*/}}
\DoxyCodeLine{00020\ }
\DoxyCodeLine{00021\ \textcolor{preprocessor}{\#ifndef\ \_MW\_DEBUG\_H}}
\DoxyCodeLine{00022\ \textcolor{preprocessor}{\#define\ \_MW\_DEBUG\_H}}
\DoxyCodeLine{00023\ }
\DoxyCodeLine{00024\ }
\DoxyCodeLine{00025\ \textcolor{preprocessor}{\#include\ <stdarg.h>}}
\DoxyCodeLine{00026\ \textcolor{preprocessor}{\#include\ <glib.h>}}
\DoxyCodeLine{00027\ }
\DoxyCodeLine{00028\ \textcolor{preprocessor}{\#include\ "{}\mbox{\hyperlink{mw__common_8h}{mw\_common.h}}"{}}}
\DoxyCodeLine{00029\ }
\DoxyCodeLine{00030\ }
\DoxyCodeLine{00035\ \textcolor{preprocessor}{\#define\ NSTR(str)\ ((str)?\ (str):\ "{}(null)"{})}}
\DoxyCodeLine{00036\ }
\DoxyCodeLine{00037\ }
\DoxyCodeLine{00038\ \textcolor{preprocessor}{\#ifndef\ g\_debug}}
\DoxyCodeLine{00039\ \textcolor{preprocessor}{\#define\ g\_debug(format...)\ g\_log(G\_LOG\_DOMAIN,\ G\_LOG\_LEVEL\_DEBUG,\ format)}}
\DoxyCodeLine{00040\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{00041\ }
\DoxyCodeLine{00042\ }
\DoxyCodeLine{00043\ \textcolor{preprocessor}{\#ifndef\ g\_info}}
\DoxyCodeLine{00044\ \textcolor{preprocessor}{\#define\ g\_info(format...)\ g\_log(G\_LOG\_DOMAIN,\ G\_LOG\_LEVEL\_INFO,\ format)}}
\DoxyCodeLine{00045\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{00046\ }
\DoxyCodeLine{00047\ }
\DoxyCodeLine{00048\ \textcolor{preprocessor}{\#ifndef\ MW\_MAILME\_ADDRESS}\textcolor{preprocessor}{}}
\DoxyCodeLine{00050\ \textcolor{preprocessor}{\#define\ MW\_MAILME\_ADDRESS\ \ "{}meanwhile-\/devel@lists.sourceforge.net"{}}}
\DoxyCodeLine{00051\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{00052\ }
\DoxyCodeLine{00053\ }
\DoxyCodeLine{00054\ \textcolor{preprocessor}{\#ifndef\ MW\_MAILME\_CUT\_START}}
\DoxyCodeLine{00055\ \textcolor{preprocessor}{\#define\ MW\_MAILME\_CUT\_START\ \ "{}-\/-\/-\/-\/-\/-\/-\/-\/\ begin\ copy\ -\/-\/-\/-\/-\/-\/-\/-\/"{}}}
\DoxyCodeLine{00056\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{00057\ }
\DoxyCodeLine{00058\ }
\DoxyCodeLine{00059\ \textcolor{preprocessor}{\#ifndef\ MW\_MAILME\_CUT\_STOP}}
\DoxyCodeLine{00060\ \textcolor{preprocessor}{\#define\ MW\_MAILME\_CUT\_STOP\ \ \ "{}-\/-\/-\/-\/-\/-\/-\/-\/-\/\ end\ copy\ -\/-\/-\/-\/-\/-\/-\/-\/-\/"{}}}
\DoxyCodeLine{00061\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{00062\ }
\DoxyCodeLine{00063\ }
\DoxyCodeLine{00064\ \textcolor{preprocessor}{\#ifndef\ MW\_MAILME\_MESSAGE}\textcolor{preprocessor}{}}
\DoxyCodeLine{00067\ \textcolor{preprocessor}{\#define\ MW\_MAILME\_MESSAGE\ "{}\(\backslash\)n"{}\ \(\backslash\)}}
\DoxyCodeLine{00068\ \textcolor{preprocessor}{\ "{}\ \ Greetings!\ It\ seems\ that\ you've\ run\ across\ protocol\ data\ that\ the\(\backslash\)n"{}\ \(\backslash\)}}
\DoxyCodeLine{00069\ \textcolor{preprocessor}{\ "{}Meanwhile\ library\ does\ not\ yet\ know\ about.\ As\ such,\ there\ may\ be\(\backslash\)n"{}\ \ \ \ \(\backslash\)}}
\DoxyCodeLine{00070\ \textcolor{preprocessor}{\ "{}some\ unexpected\ behaviour\ in\ this\ session.\ If\ you'd\ like\ to\ help\(\backslash\)n"{}\ \ \ \ \(\backslash\)}}
\DoxyCodeLine{00071\ \textcolor{preprocessor}{\ "{}resolve\ this\ issue,\ please\ copy\ and\ paste\ the\ following\ block\ into\(\backslash\)n"{}\ \ \(\backslash\)}}
\DoxyCodeLine{00072\ \textcolor{preprocessor}{\ "{}an\ email\ to\ the\ address\ listed\ below\ with\ a\ brief\ explanation\ of\(\backslash\)n"{}\ \ \ \ \(\backslash\)}}
\DoxyCodeLine{00073\ \textcolor{preprocessor}{\ "{}what\ you\ were\ doing\ at\ the\ time\ of\ this\ message.\ Thanks\ a\ lot!"{}}}
\DoxyCodeLine{00074\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{00075\ }
\DoxyCodeLine{00076\ }
\DoxyCodeLine{00077\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{mw__debug_8h_ad33086bf1a80cc08bae07cd36d07cc7e}{mw\_debug\_datav}}(\textcolor{keyword}{const}\ guchar\ *buf,\ gsize\ len,}
\DoxyCodeLine{00078\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *info,\ va\_list\ args);}
\DoxyCodeLine{00079\ }
\DoxyCodeLine{00080\ }
\DoxyCodeLine{00081\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{mw__debug_8h_a65a276306d40a3bbeacd14ed1e5c3861}{mw\_debug\_data}}(\textcolor{keyword}{const}\ guchar\ *buf,\ gsize\ len,}
\DoxyCodeLine{00082\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *info,\ ...);}
\DoxyCodeLine{00083\ }
\DoxyCodeLine{00084\ }
\DoxyCodeLine{00085\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{mw__debug_8h_a4472fe61c0e2e8af8af69b5f865c7cfe}{mw\_debug\_opaquev}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwOpaque}{mwOpaque}}\ *o,\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *info,\ va\_list\ args);}
\DoxyCodeLine{00086\ }
\DoxyCodeLine{00087\ }
\DoxyCodeLine{00088\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{mw__debug_8h_abef8e11ddacd1b570281edbdd58b5eab}{mw\_debug\_opaque}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwOpaque}{mwOpaque}}\ *o,\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *info,\ ...);}
\DoxyCodeLine{00089\ }
\DoxyCodeLine{00090\ }
\DoxyCodeLine{00091\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{mw__debug_8h_aaa403b022606c10a581c5d328bcd7c6d}{mw\_mailme\_datav}}(\textcolor{keyword}{const}\ guchar\ *buf,\ gsize\ len,}
\DoxyCodeLine{00092\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *info,\ va\_list\ args);}
\DoxyCodeLine{00093\ }
\DoxyCodeLine{00094\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{mw__debug_8h_a5bb0e9894f0db4ba0896aa0f05c67a62}{mw\_mailme\_data}}(\textcolor{keyword}{const}\ guchar\ *buf,\ gsize\ len,}
\DoxyCodeLine{00095\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *info,\ ...);}
\DoxyCodeLine{00096\ }
\DoxyCodeLine{00097\ }
\DoxyCodeLine{00101\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{mw__debug_8h_ab27e7529ac1cb6fa56ea42727fe739d3}{mw\_mailme\_opaquev}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwOpaque}{mwOpaque}}\ *o,\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *info,\ va\_list\ args);}
\DoxyCodeLine{00102\ }
\DoxyCodeLine{00103\ }
\DoxyCodeLine{00104\ }
\DoxyCodeLine{00124\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{mw__debug_8h_a84b9630d04ad0fe9136bf5b04e40dfac}{mw\_mailme\_opaque}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwOpaque}{mwOpaque}}\ *o,\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *info,\ ...);}
\DoxyCodeLine{00125\ }
\DoxyCodeLine{00126\ }
\DoxyCodeLine{00127\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{00128\ }

\end{DoxyCode}
