<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <title>sc68fordevelopers: /home/mandrake/rpm/BUILD/sc68-2.2.1/file68/debugmsg68.h Source File</title> <link href="tabs.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.5.9 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="annotated.html"><span>Data Structures</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>Globals</span></a></li> </ul> </div> <h1>/home/mandrake/rpm/BUILD/sc68-2.2.1/file68/debugmsg68.h</h1><a href="debugmsg68_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <a name="l00012"></a>00012 <span class="comment">/* Copyright (C) 1998-2003 Benjamin Gerard */</span> <a name="l00013"></a>00013 <a name="l00014"></a>00014 <span class="preprocessor">#ifndef _DEBUGMSG68_H_</span> <a name="l00015"></a>00015 <span class="preprocessor"></span><span class="preprocessor">#define _DEBUGMSG68_H_</span> <a name="l00016"></a>00016 <span class="preprocessor"></span> <a name="l00017"></a>00017 <span class="preprocessor">#include <stdarg.h></span> <a name="l00018"></a>00018 <a name="l00019"></a>00019 <span class="preprocessor">#ifdef __cplusplus</span> <a name="l00020"></a>00020 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">"C"</span> { <a name="l00021"></a>00021 <span class="preprocessor">#endif</span> <a name="l00022"></a>00022 <span class="preprocessor"></span> <a name="l00024"></a><a class="code" href="debugmsg68_8h.html#348d0d9c03b7e5f66dd26eebc9c9f589">00024</a> <span class="keyword">typedef</span> void (*<a class="code" href="debugmsg68_8h.html#348d0d9c03b7e5f66dd26eebc9c9f589" title="Debug handler type.">debugmsg68_t</a>)(<span class="keywordtype">void</span> * cookie, <span class="keyword">const</span> <span class="keywordtype">char</span> * fmt, va_list list); <a name="l00025"></a>00025 <a name="l00032"></a>00032 <a class="code" href="debugmsg68_8h.html#348d0d9c03b7e5f66dd26eebc9c9f589" title="Debug handler type.">debugmsg68_t</a> <a class="code" href="debugmsg68_8h.html#a30abf0c251eb5b84f9bedcb1ee7fd8b" title="Set debug function.">debugmsg68_set_handler</a>(<a class="code" href="debugmsg68_8h.html#348d0d9c03b7e5f66dd26eebc9c9f589" title="Debug handler type.">debugmsg68_t</a> handler); <a name="l00033"></a>00033 <a name="l00041"></a>00041 <span class="keywordtype">void</span> * <a class="code" href="debugmsg68_8h.html#7289b2fc1d27e6e80d756c166ed06aa1" title="Set debug function user parameter.">debugmsg68_set_cookie</a>(<span class="keywordtype">void</span> * cookie); <a name="l00042"></a>00042 <a name="l00048"></a>00048 <span class="keywordtype">void</span> <a class="code" href="debugmsg68_8h.html#4fab905bffd18e5da421d01e16159215" title="Print debug message.">debugmsg68</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> * fmt, ...); <a name="l00049"></a>00049 <a name="l00056"></a>00056 <span class="keywordtype">void</span> <a class="code" href="debugmsg68_8h.html#d6ab4d757fa020eba7e21045944c2701" title="Print debug message (variable argument).">vdebugmsg68</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> * fmt, va_list list); <a name="l00057"></a>00057 <a name="l00064"></a>00064 <span class="keywordtype">void</span> <a class="code" href="debugmsg68_8h.html#57a4dffac0cee8d76bd420ab3f939d34" title="Wrapper for debugmsg68().">SC68os_pdebug</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *fmt, ...); <a name="l00065"></a>00065 <a name="l00066"></a>00066 <span class="preprocessor">#ifdef __cplusplus</span> <a name="l00067"></a>00067 <span class="preprocessor"></span>} <a name="l00068"></a>00068 <span class="preprocessor">#endif</span> <a name="l00069"></a>00069 <span class="preprocessor"></span> <a name="l00070"></a>00070 <span class="preprocessor">#endif </span><span class="comment">/* #ifndef _DEBUGMSG68_H_ */</span> </pre></div></div> <hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 15 03:58:04 2009 for sc68fordevelopers by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address> </body> </html>