1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
4
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
5
<title>File Index</title>
6
<link href="doxygen.css" rel="stylesheet" type="text/css">
9
<!-- Generated by Doxygen 1.6.3 -->
10
<div class="navigation" id="top">
13
<li><a href="main.html"><span>Main Page</span></a></li>
14
<li><a href="annotated.html"><span>Data Structures</span></a></li>
15
<li class="current"><a href="files.html"><span>Files</span></a></li>
20
<li><a href="files.html"><span>File List</span></a></li>
21
<li><a href="globals.html"><span>Globals</span></a></li>
25
<div class="contents">
26
<h1>dmxlog.c File Reference</h1><code>#include "<a class="el" href="dmx_8h_source.html">dmx.h</a>"</code><br/>
27
<code>#include "<a class="el" href="dmxlog_8h_source.html">dmxlog.h</a>"</code><br/>
28
<code>#include "<a class="el" href="dmxinput_8h_source.html">dmxinput.h</a>"</code><br/>
29
<code>#include <X11/extensions/XI.h></code><br/>
30
<code>#include <X11/extensions/XIproto.h></code><br/>
31
<table border="0" cellpadding="0" cellspacing="0">
32
<tr><td colspan="2"><h2>Functions</h2></td></tr>
33
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="dmxlog_8h.html#aeed612a5c0be196e23bd6b71b76b917f">dmxLogLevel</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxlog_8c.html#a1fb44232c682fab283ef2726255e8759">dmxSetLogLevel</a> (<a class="el" href="dmxlog_8h.html#aeed612a5c0be196e23bd6b71b76b917f">dmxLogLevel</a> newLevel)</td></tr>
34
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="dmxlog_8h.html#aeed612a5c0be196e23bd6b71b76b917f">dmxLogLevel</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxlog_8c.html#a917ecdf378ddb91bb2aece6583bd449d">dmxGetLogLevel</a> (void)</td></tr>
35
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxlog_8c.html#a50d079f944b71e881c0c58562f96c6ad">AbortServer</a> (void)</td></tr>
36
<tr><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxlog_8c.html#af1c88ef4a6df132f586cf7605ca8192a">VFatalError</a> (const char *format, va_list args)</td></tr>
37
<tr><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxlog_8c.html#a8944deeabab7bb4d5badd37244ec19f5">dmxHeader</a> (<a class="el" href="dmxlog_8h.html#aeed612a5c0be196e23bd6b71b76b917f">dmxLogLevel</a> logLevel, <a class="el" href="struct__DMXInputInfo.html">DMXInputInfo</a> *dmxInput, <a class="el" href="struct__DMXScreenInfo.html">DMXScreenInfo</a> *dmxScreen)</td></tr>
38
<tr><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxlog_8c.html#ab39e0a74201e4118158bc87063dd4a2e">dmxMessage</a> (<a class="el" href="dmxlog_8h.html#aeed612a5c0be196e23bd6b71b76b917f">dmxLogLevel</a> logLevel, const char *format, va_list args)</td></tr>
39
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxlog_8c.html#ab6259430a57c3cffdfc9f6259df0ad23">dmxLog</a> (<a class="el" href="dmxlog_8h.html#aeed612a5c0be196e23bd6b71b76b917f">dmxLogLevel</a> logLevel, const char *format,...)</td></tr>
40
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxlog_8c.html#a661111d53827a1a15c715b7b32f05a0e">dmxLogCont</a> (<a class="el" href="dmxlog_8h.html#aeed612a5c0be196e23bd6b71b76b917f">dmxLogLevel</a> logLevel, const char *format,...)</td></tr>
41
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxlog_8c.html#aabe50ca33403c25a9e57a06d1d3a089a">dmxLogOutput</a> (<a class="el" href="struct__DMXScreenInfo.html">DMXScreenInfo</a> *dmxScreen, const char *format,...)</td></tr>
42
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxlog_8c.html#a9ee9ef3403a0905596796cfcac2334d2">dmxLogOutputCont</a> (<a class="el" href="struct__DMXScreenInfo.html">DMXScreenInfo</a> *dmxScreen, const char *format,...)</td></tr>
43
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxlog_8c.html#a079f70db20eaa2ba22b976851da820b6">dmxLogOutputWarning</a> (<a class="el" href="struct__DMXScreenInfo.html">DMXScreenInfo</a> *dmxScreen, const char *format,...)</td></tr>
44
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxlog_8c.html#ac8d8dc0ec631bab1d1d95815c238d574">dmxLogInput</a> (<a class="el" href="struct__DMXInputInfo.html">DMXInputInfo</a> *dmxInput, const char *format,...)</td></tr>
45
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxlog_8c.html#afee1d7a707ad9d9b0fd4facacf1b06c0">dmxLogInputCont</a> (<a class="el" href="struct__DMXInputInfo.html">DMXInputInfo</a> *dmxInput, const char *format,...)</td></tr>
46
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxlog_8c.html#afc95eb36d0aadc52b34ee3e506f70f7b">dmxLogArgs</a> (<a class="el" href="dmxlog_8h.html#aeed612a5c0be196e23bd6b71b76b917f">dmxLogLevel</a> logLevel, int argc, char **argv)</td></tr>
47
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxlog_8c.html#a6223e183bab18f6eaa27cb29bf5dcfae">dmxLogVisual</a> (<a class="el" href="struct__DMXScreenInfo.html">DMXScreenInfo</a> *dmxScreen, XVisualInfo *vi, int defaultVisual)</td></tr>
48
<tr><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxlog_8c.html#a57b865e3469d22f9dedb3cf7dc97ed2e">dmxXInputEventName</a> (int type)</td></tr>
49
<tr><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxlog_8c.html#ad06725902753399035cb0ebde9c45e9a">dmxEventName</a> (int type)</td></tr>
50
<tr><td colspan="2"><h2>Variables</h2></td></tr>
51
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="dmxlog_8h.html#aeed612a5c0be196e23bd6b71b76b917f">dmxLogLevel</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxlog_8c.html#adec7b3dba0fe95f6ff8c96575cbd29b1">dmxCurrentLogLevel</a> = dmxDebug</td></tr>
53
<hr/><a name="_details"></a><h2>Detailed Description</h2>
54
<p>This file encapsulated all of the logging functions that are used by DMX for informational, warning, and error messages. </p>
55
<hr/><h2>Function Documentation</h2>
56
<a class="anchor" id="a50d079f944b71e881c0c58562f96c6ad"></a><!-- doxytag: member="dmxlog.c::AbortServer" ref="a50d079f944b71e881c0c58562f96c6ad" args="(void)" -->
58
<div class="memproto">
59
<table class="memname">
61
<td class="memname">void AbortServer </td>
63
<td class="paramtype">void </td>
64
<td class="paramname"></td>
65
<td> ) </td>
71
<p>This function was removed between XFree86 4.3.0 and XFree86 4.4.0. </p>
73
<p>Referenced by <a class="el" href="dmxlog_8c_source.html#l00101">VFatalError()</a>.</p>
77
<a class="anchor" id="ad06725902753399035cb0ebde9c45e9a"></a><!-- doxytag: member="dmxlog.c::dmxEventName" ref="ad06725902753399035cb0ebde9c45e9a" args="(int type)" -->
79
<div class="memproto">
80
<table class="memname">
82
<td class="memname">const char* dmxEventName </td>
84
<td class="paramtype">int </td>
85
<td class="paramname"> <em>type</em></td>
86
<td> ) </td>
92
<p>Translate an event <em>type</em> into a human-readable string. </p>
94
<p>Referenced by <a class="el" href="dmxconsole_8c_source.html#l00305">dmxConsoleUpdateFineCursor()</a>, <a class="el" href="dmxconsole_8c_source.html#l00962">dmxDump()</a>, and <a class="el" href="dmxevents_8c_source.html#l00659">dmxEnqueue()</a>.</p>
98
<a class="anchor" id="a917ecdf378ddb91bb2aece6583bd449d"></a><!-- doxytag: member="dmxlog.c::dmxGetLogLevel" ref="a917ecdf378ddb91bb2aece6583bd449d" args="(void)" -->
100
<div class="memproto">
101
<table class="memname">
103
<td class="memname"><a class="el" href="dmxlog_8h.html#aeed612a5c0be196e23bd6b71b76b917f">dmxLogLevel</a> dmxGetLogLevel </td>
105
<td class="paramtype">void </td>
106
<td class="paramname"></td>
107
<td> ) </td>
113
<p>Returns the log level set by <a class="el" href="dmxlog_8h.html#aeed612a5c0be196e23bd6b71b76b917f">dmxLogLevel</a>. </p>
115
<p>References <a class="el" href="dmxlog_8c_source.html#l00048">dmxCurrentLogLevel</a>.</p>
119
<a class="anchor" id="a8944deeabab7bb4d5badd37244ec19f5"></a><!-- doxytag: member="dmxlog.c::dmxHeader" ref="a8944deeabab7bb4d5badd37244ec19f5" args="(dmxLogLevel logLevel, DMXInputInfo *dmxInput, DMXScreenInfo *dmxScreen)" -->
120
<div class="memitem">
121
<div class="memproto">
122
<table class="memname">
124
<td class="memname">static void dmxHeader </td>
126
<td class="paramtype"><a class="el" href="dmxlog_8h.html#aeed612a5c0be196e23bd6b71b76b917f">dmxLogLevel</a> </td>
127
<td class="paramname"> <em>logLevel</em>, </td>
130
<td class="paramkey"></td>
132
<td class="paramtype"><a class="el" href="struct__DMXInputInfo.html">DMXInputInfo</a> * </td>
133
<td class="paramname"> <em>dmxInput</em>, </td>
136
<td class="paramkey"></td>
138
<td class="paramtype"><a class="el" href="struct__DMXScreenInfo.html">DMXScreenInfo</a> * </td>
139
<td class="paramname"> <em>dmxScreen</em></td><td> </td>
144
<td></td><td></td><td><code> [static]</code></td>
150
<p>References <a class="el" href="dmxlog_8h_source.html#l00043">dmxDebug</a>, <a class="el" href="dmxlog_8h_source.html#l00048">dmxError</a>, <a class="el" href="dmxlog_8h_source.html#l00051">dmxFatal</a>, <a class="el" href="dmxlog_8h_source.html#l00044">dmxInfo</a>, <a class="el" href="dmxlog_8h_source.html#l00045">dmxWarning</a>, <a class="el" href="dmx_8h_source.html#l00093">_DMXScreenInfo::index</a>, <a class="el" href="dmxinput_8h_source.html#l00090">_DMXInputInfo::inputIdx</a>, <a class="el" href="dmx_8h_source.html#l00092">_DMXScreenInfo::name</a>, and <a class="el" href="dmxinput_8h_source.html#l00085">_DMXInputInfo::name</a>.</p>
152
<p>Referenced by <a class="el" href="dmxlog_8c_source.html#l00159">dmxLog()</a>, <a class="el" href="dmxlog_8c_source.html#l00219">dmxLogInput()</a>, <a class="el" href="dmxlog_8c_source.html#l00183">dmxLogOutput()</a>, and <a class="el" href="dmxlog_8c_source.html#l00207">dmxLogOutputWarning()</a>.</p>
156
<a class="anchor" id="ab6259430a57c3cffdfc9f6259df0ad23"></a><!-- doxytag: member="dmxlog.c::dmxLog" ref="ab6259430a57c3cffdfc9f6259df0ad23" args="(dmxLogLevel logLevel, const char *format,...)" -->
157
<div class="memitem">
158
<div class="memproto">
159
<table class="memname">
161
<td class="memname">void dmxLog </td>
163
<td class="paramtype"><a class="el" href="dmxlog_8h.html#aeed612a5c0be196e23bd6b71b76b917f">dmxLogLevel</a> </td>
164
<td class="paramname"> <em>logLevel</em>, </td>
167
<td class="paramkey"></td>
169
<td class="paramtype">const char * </td>
170
<td class="paramname"> <em>format</em>, </td>
173
<td class="paramkey"></td>
175
<td class="paramtype"> </td>
176
<td class="paramname"> <em>...</em></td><td> </td>
181
<td></td><td></td><td></td>
186
<p>Log the specified message at the specified <em>logLevel</em>. <em>format</em> can be a printf-like format expression. </p>
188
<p>References <a class="el" href="dmxlog_8c_source.html#l00114">dmxHeader()</a>, and <a class="el" href="dmxlog_8c_source.html#l00149">dmxMessage()</a>.</p>
190
<p>Referenced by <a class="el" href="dmxinit_8c_source.html#l00874">ddxProcessArgument()</a>, <a class="el" href="dmxinputinit_8c_source.html#l00691">dmxAddDevice()</a>, <a class="el" href="dmxextension_8c_source.html#l01164">dmxAttachScreen()</a>, <a class="el" href="dmxbackend_8c_source.html#l00335">dmxBackendCollectEvents()</a>, <a class="el" href="dmxbackend_8c_source.html#l00508">dmxBackendInitPrivate()</a>, <a class="el" href="dmxcmap_8c_source.html#l00064">dmxBECreateColormap()</a>, <a class="el" href="dmxcursor_8c_source.html#l00582">dmxBECreateCursor()</a>, <a class="el" href="dmxfont_8c_source.html#l00246">dmxBELoadFont()</a>, <a class="el" href="dmxextension_8c_source.html#l00773">dmxBERestorePixmap()</a>, <a class="el" href="dmxextension_8c_source.html#l01080">dmxBERestoreRenderGlyph()</a>, <a class="el" href="dmxextension_8c_source.html#l01398">dmxBESavePixmap()</a>, <a class="el" href="dmxevents_8c_source.html#l00098">dmxCheckFunctionKeys()</a>, <a class="el" href="dmxevents_8c_source.html#l00743">dmxCheckSpecialKeys()</a>, <a class="el" href="dmxcommon_8c_source.html#l00310">dmxCommonOthOn()</a>, <a class="el" href="dmxcommon_8c_source.html#l00620">dmxCommonRestoreState()</a>, <a class="el" href="dmxcb_8c_source.html#l00069">dmxComputeWidthHeight()</a>, <a class="el" href="dmxconfig_8c_source.html#l00176">dmxConfigAddDisplay()</a>, <a class="el" href="dmxconfig_8c_source.html#l00211">dmxConfigAddInput()</a>, <a class="el" href="dmxconfig_8c_source.html#l00430">dmxConfigConfigure()</a>, <a class="el" href="dmxconfig_8c_source.html#l00342">dmxConfigCopyData()</a>, <a class="el" href="dmxconfig_8c_source.html#l00248">dmxConfigCopyFromWall()</a>, <a class="el" href="dmxconfig_8c_source.html#l00361">dmxConfigFromCommandLine()</a>, <a class="el" href="dmxconfig_8c_source.html#l00388">dmxConfigFromConfigFile()</a>, <a class="el" href="dmxconfig_8c_source.html#l00150">dmxConfigReadFile()</a>, <a class="el" href="dmxconfig_8c_source.html#l00144">dmxConfigStoreConfig()</a>, <a class="el" href="dmxconfig_8c_source.html#l00084">dmxConfigStoreDisplay()</a>, <a class="el" href="dmxconfig_8c_source.html#l00135">dmxConfigStoreFile()</a>, <a class="el" href="dmxconfig_8c_source.html#l00102">dmxConfigStoreInput()</a>, <a class="el" href="dmxconfig_8c_source.html#l00119">dmxConfigStoreXInput()</a>, <a class="el" href="xdmxconfig_8c_source.html#l00424">dmxConfigWriteFile()</a>, <a class="el" href="dmxcb_8c_source.html#l00111">dmxConnectionBlockCallback()</a>, <a class="el" href="dmxconsole_8c_source.html#l00622">dmxConsoleCreateEmptyCursor()</a>, <a class="el" href="dmxconsole_8c_source.html#l00189">dmxConsoleDrawWindows()</a>, <a class="el" href="dmxconsole_8c_source.html#l00894">dmxConsoleFunctions()</a>, <a class="el" href="dmxconsole_8c_source.html#l00717">dmxConsoleInit()</a>, <a class="el" href="dmxconsole_8c_source.html#l00305">dmxConsoleUpdateFineCursor()</a>, <a class="el" href="dmxextension_8c_source.html#l01557">dmxDetachScreen()</a>, <a class="el" href="dmxinputinit_8c_source.html#l00430">dmxDeviceOnOff()</a>, <a class="el" href="dmxinit_8c_source.html#l00490">dmxDisplayInit()</a>, <a class="el" href="dmxinit_8c_source.html#l00123">dmxErrorHandler()</a>, <a class="el" href="dmxevents_8c_source.html#l00632">dmxFixup()</a>, <a class="el" href="dmxevents_8c_source.html#l00520">dmxGetButtonMapping()</a>, <a class="el" href="dmxfont_8c_source.html#l00062">dmxGetFontPath()</a>, <a class="el" href="dmxcursor_8c_source.html#l00375">dmxInitOrigins()</a>, <a class="el" href="dmxcursor_8c_source.html#l00519">dmxInitOverlap()</a>, <a class="el" href="dmxinputinit_8c_source.html#l00776">dmxInputCopyLocal()</a>, <a class="el" href="dmxinputinit_8c_source.html#l00961">dmxInputInit()</a>, <a class="el" href="dmxinputinit_8c_source.html#l01119">dmxInputLogDevices()</a>, <a class="el" href="dmxinputinit_8c_source.html#l00835">dmxInputScanForExtensions()</a>, <a class="el" href="dmxlog_8c_source.html#l00242">dmxLogArgs()</a>, <a class="el" href="dmxlog_8c_source.html#l00250">dmxLogVisual()</a>, <a class="el" href="dmxmap_8c_source.html#l00062">dmxMapInsert()</a>, <a class="el" href="dmxcursor_8c_source.html#l00414">dmxOnScreen()</a>, <a class="el" href="dmxinputinit_8c_source.html#l00798">dmxPopulateLocal()</a>, <a class="el" href="dmxprop_8c_source.html#l00181">dmxPropertyCheckOtherWindows()</a>, <a class="el" href="dmxprop_8c_source.html#l00098">dmxPropertyIterate()</a>, <a class="el" href="dmxprop_8c_source.html#l00253">dmxPropertySameDisplay()</a>, <a class="el" href="dmxprop_8c_source.html#l00315">dmxPropertyWindow()</a>, <a class="el" href="dmxcursor_8c_source.html#l00347">dmxReInitOrigins()</a>, <a class="el" href="dmxsigio_8c_source.html#l00214">dmxSigioRegister()</a>, <a class="el" href="dmxstat_8c_source.html#l00163">dmxStatCallback()</a>, <a class="el" href="dmxinputinit_8c_source.html#l00625">dmxSwitchReturn()</a>, <a class="el" href="dmxsync_8c_source.html#l00150">dmxSync()</a>, <a class="el" href="dmxsync_8c_source.html#l00124">dmxSyncInit()</a>, <a class="el" href="dmxevents_8c_source.html#l00383">dmxTranslateAndEnqueueExtEvent()</a>, <a class="el" href="dmxcursor_8c_source.html#l00231">dmxTryComputeScreenOrigins()</a>, <a class="el" href="dmxinputinit_8c_source.html#l00566">dmxUpdateWindowInformation()</a>, <a class="el" href="dmxinputinit_8c_source.html#l00641">dmxWakeupHandler()</a>, <a class="el" href="dmxinput_8c_source.html#l00064">InitInput()</a>, <a class="el" href="dmxinit_8c_source.html#l00559">InitOutput()</a>, and <a class="el" href="usb-other_8c_source.html#l00097">othUSBGetInfo()</a>.</p>
194
<a class="anchor" id="afc95eb36d0aadc52b34ee3e506f70f7b"></a><!-- doxytag: member="dmxlog.c::dmxLogArgs" ref="afc95eb36d0aadc52b34ee3e506f70f7b" args="(dmxLogLevel logLevel, int argc, char **argv)" -->
195
<div class="memitem">
196
<div class="memproto">
197
<table class="memname">
199
<td class="memname">void dmxLogArgs </td>
201
<td class="paramtype"><a class="el" href="dmxlog_8h.html#aeed612a5c0be196e23bd6b71b76b917f">dmxLogLevel</a> </td>
202
<td class="paramname"> <em>logLevel</em>, </td>
205
<td class="paramkey"></td>
207
<td class="paramtype">int </td>
208
<td class="paramname"> <em>argc</em>, </td>
211
<td class="paramkey"></td>
213
<td class="paramtype">char ** </td>
214
<td class="paramname"> <em>argv</em></td><td> </td>
219
<td></td><td></td><td></td>
224
<p>Print <em>argc</em> messages, each describing an element in <em>argv</em>. This is maingly for debugging purposes. </p>
226
<p>References <a class="el" href="dmxlog_8c_source.html#l00159">dmxLog()</a>.</p>
230
<a class="anchor" id="a661111d53827a1a15c715b7b32f05a0e"></a><!-- doxytag: member="dmxlog.c::dmxLogCont" ref="a661111d53827a1a15c715b7b32f05a0e" args="(dmxLogLevel logLevel, const char *format,...)" -->
231
<div class="memitem">
232
<div class="memproto">
233
<table class="memname">
235
<td class="memname">void dmxLogCont </td>
237
<td class="paramtype"><a class="el" href="dmxlog_8h.html#aeed612a5c0be196e23bd6b71b76b917f">dmxLogLevel</a> </td>
238
<td class="paramname"> <em>logLevel</em>, </td>
241
<td class="paramkey"></td>
243
<td class="paramtype">const char * </td>
244
<td class="paramname"> <em>format</em>, </td>
247
<td class="paramkey"></td>
249
<td class="paramtype"> </td>
250
<td class="paramname"> <em>...</em></td><td> </td>
255
<td></td><td></td><td></td>
260
<p>Continue a log message without printing the message prefix. </p>
262
<p>References <a class="el" href="dmxlog_8c_source.html#l00149">dmxMessage()</a>.</p>
264
<p>Referenced by <a class="el" href="dmxinputinit_8c_source.html#l01119">dmxInputLogDevices()</a>, and <a class="el" href="dmxstat_8c_source.html#l00163">dmxStatCallback()</a>.</p>
268
<a class="anchor" id="ac8d8dc0ec631bab1d1d95815c238d574"></a><!-- doxytag: member="dmxlog.c::dmxLogInput" ref="ac8d8dc0ec631bab1d1d95815c238d574" args="(DMXInputInfo *dmxInput, const char *format,...)" -->
269
<div class="memitem">
270
<div class="memproto">
271
<table class="memname">
273
<td class="memname">void dmxLogInput </td>
275
<td class="paramtype"><a class="el" href="struct__DMXInputInfo.html">DMXInputInfo</a> * </td>
276
<td class="paramname"> <em>dmxInput</em>, </td>
279
<td class="paramkey"></td>
281
<td class="paramtype">const char * </td>
282
<td class="paramname"> <em>format</em>, </td>
285
<td class="paramkey"></td>
287
<td class="paramtype"> </td>
288
<td class="paramname"> <em>...</em></td><td> </td>
293
<td></td><td></td><td></td>
298
<p>Log an informational message (at level <a class="el" href="dmxlog_8h.html#aeed612a5c0be196e23bd6b71b76b917faf73564300bdffb23b369b84c842aceea">dmxInfo</a>) related to input. The message prefix will contain information from <em>dmxInput</em>. </p>
300
<p>References <a class="el" href="dmxlog_8c_source.html#l00114">dmxHeader()</a>, <a class="el" href="dmxlog_8h_source.html#l00044">dmxInfo</a>, and <a class="el" href="dmxlog_8c_source.html#l00149">dmxMessage()</a>.</p>
302
<p>Referenced by <a class="el" href="dmxinputinit_8c_source.html#l00691">dmxAddDevice()</a>, <a class="el" href="dmxcommon_8c_source.html#l00259">dmxCommonKbdGetInfo()</a>, <a class="el" href="dmxcommon_8c_source.html#l00620">dmxCommonRestoreState()</a>, <a class="el" href="dmxcommon_8c_source.html#l00566">dmxCommonSaveState()</a>, <a class="el" href="dmxevents_8c_source.html#l00659">dmxEnqueue()</a>, <a class="el" href="dmxinputinit_8c_source.html#l01286">dmxInputAttachBackend()</a>, <a class="el" href="dmxinputinit_8c_source.html#l01263">dmxInputAttachConsole()</a>, <a class="el" href="dmxinputinit_8c_source.html#l01240">dmxInputAttachOld()</a>, <a class="el" href="dmxdetach_8c_source.html#l00045">dmxInputDetach()</a>, <a class="el" href="dmxinputinit_8c_source.html#l00961">dmxInputInit()</a>, <a class="el" href="dmxinputinit_8c_source.html#l00835">dmxInputScanForExtensions()</a>, and <a class="el" href="dmxinputinit_8c_source.html#l00372">dmxKeyboardOn()</a>.</p>
306
<a class="anchor" id="afee1d7a707ad9d9b0fd4facacf1b06c0"></a><!-- doxytag: member="dmxlog.c::dmxLogInputCont" ref="afee1d7a707ad9d9b0fd4facacf1b06c0" args="(DMXInputInfo *dmxInput, const char *format,...)" -->
307
<div class="memitem">
308
<div class="memproto">
309
<table class="memname">
311
<td class="memname">void dmxLogInputCont </td>
313
<td class="paramtype"><a class="el" href="struct__DMXInputInfo.html">DMXInputInfo</a> * </td>
314
<td class="paramname"> <em>dmxInput</em>, </td>
317
<td class="paramkey"></td>
319
<td class="paramtype">const char * </td>
320
<td class="paramname"> <em>format</em>, </td>
323
<td class="paramkey"></td>
325
<td class="paramtype"> </td>
326
<td class="paramname"> <em>...</em></td><td> </td>
331
<td></td><td></td><td></td>
336
<p>Continue a message related to input without printing the message prefix. </p>
338
<p>References <a class="el" href="dmxlog_8h_source.html#l00044">dmxInfo</a>, and <a class="el" href="dmxlog_8c_source.html#l00149">dmxMessage()</a>.</p>
340
<p>Referenced by <a class="el" href="dmxinputinit_8c_source.html#l00372">dmxKeyboardOn()</a>.</p>
344
<a class="anchor" id="aabe50ca33403c25a9e57a06d1d3a089a"></a><!-- doxytag: member="dmxlog.c::dmxLogOutput" ref="aabe50ca33403c25a9e57a06d1d3a089a" args="(DMXScreenInfo *dmxScreen, const char *format,...)" -->
345
<div class="memitem">
346
<div class="memproto">
347
<table class="memname">
349
<td class="memname">void dmxLogOutput </td>
351
<td class="paramtype"><a class="el" href="struct__DMXScreenInfo.html">DMXScreenInfo</a> * </td>
352
<td class="paramname"> <em>dmxScreen</em>, </td>
355
<td class="paramkey"></td>
357
<td class="paramtype">const char * </td>
358
<td class="paramname"> <em>format</em>, </td>
361
<td class="paramkey"></td>
363
<td class="paramtype"> </td>
364
<td class="paramname"> <em>...</em></td><td> </td>
369
<td></td><td></td><td></td>
374
<p>Log an informational message (at level <a class="el" href="dmxlog_8h.html#aeed612a5c0be196e23bd6b71b76b917faf73564300bdffb23b369b84c842aceea">dmxInfo</a>) related to ouput. The message prefix will contain backend information from <em>dmxScreen</em>. </p>
376
<p>References <a class="el" href="dmxlog_8c_source.html#l00114">dmxHeader()</a>, <a class="el" href="dmxlog_8h_source.html#l00044">dmxInfo</a>, and <a class="el" href="dmxlog_8c_source.html#l00149">dmxMessage()</a>.</p>
378
<p>Referenced by <a class="el" href="dmxdpms_8c_source.html#l00059">_dmxDPMSInit()</a>, <a class="el" href="dmxextension_8c_source.html#l01164">dmxAttachScreen()</a>, <a class="el" href="dmxextension_8c_source.html#l01557">dmxDetachScreen()</a>, <a class="el" href="dmxinit_8c_source.html#l00283">dmxGetScreenAttribs()</a>, <a class="el" href="dmxcursor_8c_source.html#l00375">dmxInitOrigins()</a>, <a class="el" href="dmxcursor_8c_source.html#l00519">dmxInitOverlap()</a>, <a class="el" href="dmxlog_8c_source.html#l00250">dmxLogVisual()</a>, <a class="el" href="dmxinit_8c_source.html#l00207">dmxPrintScreenInfo()</a>, <a class="el" href="dmxprop_8c_source.html#l00122">dmxPropertyCheckOtherServers()</a>, and <a class="el" href="dmxcursor_8c_source.html#l00347">dmxReInitOrigins()</a>.</p>
382
<a class="anchor" id="a9ee9ef3403a0905596796cfcac2334d2"></a><!-- doxytag: member="dmxlog.c::dmxLogOutputCont" ref="a9ee9ef3403a0905596796cfcac2334d2" args="(DMXScreenInfo *dmxScreen, const char *format,...)" -->
383
<div class="memitem">
384
<div class="memproto">
385
<table class="memname">
387
<td class="memname">void dmxLogOutputCont </td>
389
<td class="paramtype"><a class="el" href="struct__DMXScreenInfo.html">DMXScreenInfo</a> * </td>
390
<td class="paramname"> <em>dmxScreen</em>, </td>
393
<td class="paramkey"></td>
395
<td class="paramtype">const char * </td>
396
<td class="paramname"> <em>format</em>, </td>
399
<td class="paramkey"></td>
401
<td class="paramtype"> </td>
402
<td class="paramname"> <em>...</em></td><td> </td>
407
<td></td><td></td><td></td>
412
<p>Continue a message related to output without printing the message prefix. </p>
414
<p>References <a class="el" href="dmxlog_8h_source.html#l00044">dmxInfo</a>, and <a class="el" href="dmxlog_8c_source.html#l00149">dmxMessage()</a>.</p>
416
<p>Referenced by <a class="el" href="dmxcursor_8c_source.html#l00519">dmxInitOverlap()</a>, <a class="el" href="dmxcursor_8c_source.html#l00473">dmxPrintOverlap()</a>, and <a class="el" href="dmxinit_8c_source.html#l00207">dmxPrintScreenInfo()</a>.</p>
420
<a class="anchor" id="a079f70db20eaa2ba22b976851da820b6"></a><!-- doxytag: member="dmxlog.c::dmxLogOutputWarning" ref="a079f70db20eaa2ba22b976851da820b6" args="(DMXScreenInfo *dmxScreen, const char *format,...)" -->
421
<div class="memitem">
422
<div class="memproto">
423
<table class="memname">
425
<td class="memname">void dmxLogOutputWarning </td>
427
<td class="paramtype"><a class="el" href="struct__DMXScreenInfo.html">DMXScreenInfo</a> * </td>
428
<td class="paramname"> <em>dmxScreen</em>, </td>
431
<td class="paramkey"></td>
433
<td class="paramtype">const char * </td>
434
<td class="paramname"> <em>format</em>, </td>
437
<td class="paramkey"></td>
439
<td class="paramtype"> </td>
440
<td class="paramname"> <em>...</em></td><td> </td>
445
<td></td><td></td><td></td>
450
<p>Log a warning message (at level <a class="el" href="dmxlog_8h.html#aeed612a5c0be196e23bd6b71b76b917fae81ae2a11fb7ab8eea902f609574210a">dmxWarning</a>) related to output. The message prefix will contain backend information from <em>dmxScreen</em>. </p>
452
<p>References <a class="el" href="dmxlog_8c_source.html#l00114">dmxHeader()</a>, <a class="el" href="dmxlog_8c_source.html#l00149">dmxMessage()</a>, and <a class="el" href="dmxlog_8h_source.html#l00045">dmxWarning</a>.</p>
454
<p>Referenced by <a class="el" href="dmxinit_8c_source.html#l00283">dmxGetScreenAttribs()</a>, <a class="el" href="dmxinit_8c_source.html#l00207">dmxPrintScreenInfo()</a>, and <a class="el" href="dmxprop_8c_source.html#l00122">dmxPropertyCheckOtherServers()</a>.</p>
458
<a class="anchor" id="a6223e183bab18f6eaa27cb29bf5dcfae"></a><!-- doxytag: member="dmxlog.c::dmxLogVisual" ref="a6223e183bab18f6eaa27cb29bf5dcfae" args="(DMXScreenInfo *dmxScreen, XVisualInfo *vi, int defaultVisual)" -->
459
<div class="memitem">
460
<div class="memproto">
461
<table class="memname">
463
<td class="memname">void dmxLogVisual </td>
465
<td class="paramtype"><a class="el" href="struct__DMXScreenInfo.html">DMXScreenInfo</a> * </td>
466
<td class="paramname"> <em>dmxScreen</em>, </td>
469
<td class="paramkey"></td>
471
<td class="paramtype">XVisualInfo * </td>
472
<td class="paramname"> <em>vi</em>, </td>
475
<td class="paramkey"></td>
477
<td class="paramtype">int </td>
478
<td class="paramname"> <em>defaultVisual</em></td><td> </td>
483
<td></td><td></td><td></td>
488
<p>Print messages at level <a class="el" href="dmxlog_8h.html#aeed612a5c0be196e23bd6b71b76b917faf73564300bdffb23b369b84c842aceea">dmxInfo</a> describing the visuals in <em>vi</em>. </p>
490
<p>References <a class="el" href="dmxlog_8h_source.html#l00044">dmxInfo</a>, <a class="el" href="dmxlog_8c_source.html#l00159">dmxLog()</a>, and <a class="el" href="dmxlog_8c_source.html#l00183">dmxLogOutput()</a>.</p>
492
<p>Referenced by <a class="el" href="dmxcb_8c_source.html#l00111">dmxConnectionBlockCallback()</a>, and <a class="el" href="dmxinit_8c_source.html#l00360">dmxGetVisualInfo()</a>.</p>
496
<a class="anchor" id="ab39e0a74201e4118158bc87063dd4a2e"></a><!-- doxytag: member="dmxlog.c::dmxMessage" ref="ab39e0a74201e4118158bc87063dd4a2e" args="(dmxLogLevel logLevel, const char *format, va_list args)" -->
497
<div class="memitem">
498
<div class="memproto">
499
<table class="memname">
501
<td class="memname">static void dmxMessage </td>
503
<td class="paramtype"><a class="el" href="dmxlog_8h.html#aeed612a5c0be196e23bd6b71b76b917f">dmxLogLevel</a> </td>
504
<td class="paramname"> <em>logLevel</em>, </td>
507
<td class="paramkey"></td>
509
<td class="paramtype">const char * </td>
510
<td class="paramname"> <em>format</em>, </td>
513
<td class="paramkey"></td>
515
<td class="paramtype">va_list </td>
516
<td class="paramname"> <em>args</em></td><td> </td>
521
<td></td><td></td><td><code> [static]</code></td>
527
<p>References <a class="el" href="dmxlog_8c_source.html#l00048">dmxCurrentLogLevel</a>, <a class="el" href="dmxlog_8h_source.html#l00051">dmxFatal</a>, and <a class="el" href="dmxlog_8c_source.html#l00101">VFatalError()</a>.</p>
529
<p>Referenced by <a class="el" href="dmxlog_8c_source.html#l00159">dmxLog()</a>, <a class="el" href="dmxlog_8c_source.html#l00170">dmxLogCont()</a>, <a class="el" href="dmxlog_8c_source.html#l00219">dmxLogInput()</a>, <a class="el" href="dmxlog_8c_source.html#l00231">dmxLogInputCont()</a>, <a class="el" href="dmxlog_8c_source.html#l00183">dmxLogOutput()</a>, <a class="el" href="dmxlog_8c_source.html#l00195">dmxLogOutputCont()</a>, and <a class="el" href="dmxlog_8c_source.html#l00207">dmxLogOutputWarning()</a>.</p>
533
<a class="anchor" id="a1fb44232c682fab283ef2726255e8759"></a><!-- doxytag: member="dmxlog.c::dmxSetLogLevel" ref="a1fb44232c682fab283ef2726255e8759" args="(dmxLogLevel newLevel)" -->
534
<div class="memitem">
535
<div class="memproto">
536
<table class="memname">
538
<td class="memname"><a class="el" href="dmxlog_8h.html#aeed612a5c0be196e23bd6b71b76b917f">dmxLogLevel</a> dmxSetLogLevel </td>
540
<td class="paramtype"><a class="el" href="dmxlog_8h.html#aeed612a5c0be196e23bd6b71b76b917f">dmxLogLevel</a> </td>
541
<td class="paramname"> <em>newLevel</em></td>
542
<td> ) </td>
548
<p>Set the default level for logging to <a class="el" href="dmxlog_8h.html#aeed612a5c0be196e23bd6b71b76b917f">dmxLogLevel</a>. Returns the previous log level. </p>
550
<p>References <a class="el" href="dmxlog_8c_source.html#l00048">dmxCurrentLogLevel</a>, and <a class="el" href="dmxlog_8h_source.html#l00051">dmxFatal</a>.</p>
554
<a class="anchor" id="a57b865e3469d22f9dedb3cf7dc97ed2e"></a><!-- doxytag: member="dmxlog.c::dmxXInputEventName" ref="a57b865e3469d22f9dedb3cf7dc97ed2e" args="(int type)" -->
555
<div class="memitem">
556
<div class="memproto">
557
<table class="memname">
559
<td class="memname">const char* dmxXInputEventName </td>
561
<td class="paramtype">int </td>
562
<td class="paramname"> <em>type</em></td>
563
<td> ) </td>
569
<p>Translate a (normalized) XInput event <em>type</em> into a human-readable string. </p>
573
<a class="anchor" id="af1c88ef4a6df132f586cf7605ca8192a"></a><!-- doxytag: member="dmxlog.c::VFatalError" ref="af1c88ef4a6df132f586cf7605ca8192a" args="(const char *format, va_list args)" -->
574
<div class="memitem">
575
<div class="memproto">
576
<table class="memname">
578
<td class="memname">static void VFatalError </td>
580
<td class="paramtype">const char * </td>
581
<td class="paramname"> <em>format</em>, </td>
584
<td class="paramkey"></td>
586
<td class="paramtype">va_list </td>
587
<td class="paramname"> <em>args</em></td><td> </td>
592
<td></td><td></td><td><code> [static]</code></td>
598
<p>References <a class="el" href="dmxlog_8c.html#a50d079f944b71e881c0c58562f96c6ad">AbortServer()</a>, and <a class="el" href="dmxinit_8c_source.html#l00869">OsVendorFatalError()</a>.</p>
600
<p>Referenced by <a class="el" href="dmxlog_8c_source.html#l00149">dmxMessage()</a>.</p>
604
<hr/><h2>Variable Documentation</h2>
605
<a class="anchor" id="adec7b3dba0fe95f6ff8c96575cbd29b1"></a><!-- doxytag: member="dmxlog.c::dmxCurrentLogLevel" ref="adec7b3dba0fe95f6ff8c96575cbd29b1" args="" -->
606
<div class="memitem">
607
<div class="memproto">
608
<table class="memname">
610
<td class="memname"><a class="el" href="dmxlog_8h.html#aeed612a5c0be196e23bd6b71b76b917f">dmxLogLevel</a> <a class="el" href="dmxlog_8c.html#adec7b3dba0fe95f6ff8c96575cbd29b1">dmxCurrentLogLevel</a> = dmxDebug<code> [static]</code></td>
616
<p>Referenced by <a class="el" href="dmxlog_8c_source.html#l00061">dmxGetLogLevel()</a>, <a class="el" href="dmxlog_8c_source.html#l00149">dmxMessage()</a>, and <a class="el" href="dmxlog_8c_source.html#l00052">dmxSetLogLevel()</a>.</p>
624
Generated June 29, 2004 for <a
625
href="http://dmx.sourceforge.net">Distributed Multihead X</a> by
626
<a href="http://www.doxygen.org/index.html">doxygen</a>