92 lines
8.2 KiB
HTML
92 lines
8.2 KiB
HTML
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||
|
<html>
|
||
|
<head>
|
||
|
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
|
||
|
<title>File Index</title>
|
||
|
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||
|
</head>
|
||
|
<body>
|
||
|
<!-- Generated by Doxygen 1.3.4 -->
|
||
|
<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a></div>
|
||
|
<h1>dmxlog.h</h1><a href="dmxlog_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/* $XFree86$ */</span>
|
||
|
00002 <span class="comment">/*</span>
|
||
|
00003 <span class="comment"> * Copyright 2001 Red Hat Inc., Durham, North Carolina.</span>
|
||
|
00004 <span class="comment"> *</span>
|
||
|
00005 <span class="comment"> * All Rights Reserved.</span>
|
||
|
00006 <span class="comment"> *</span>
|
||
|
00007 <span class="comment"> * Permission is hereby granted, free of charge, to any person obtaining</span>
|
||
|
00008 <span class="comment"> * a copy of this software and associated documentation files (the</span>
|
||
|
00009 <span class="comment"> * "Software"), to deal in the Software without restriction, including</span>
|
||
|
00010 <span class="comment"> * without limitation on the rights to use, copy, modify, merge,</span>
|
||
|
00011 <span class="comment"> * publish, distribute, sublicense, and/or sell copies of the Software,</span>
|
||
|
00012 <span class="comment"> * and to permit persons to whom the Software is furnished to do so,</span>
|
||
|
00013 <span class="comment"> * subject to the following conditions:</span>
|
||
|
00014 <span class="comment"> *</span>
|
||
|
00015 <span class="comment"> * The above copyright notice and this permission notice (including the</span>
|
||
|
00016 <span class="comment"> * next paragraph) shall be included in all copies or substantial</span>
|
||
|
00017 <span class="comment"> * portions of the Software.</span>
|
||
|
00018 <span class="comment"> *</span>
|
||
|
00019 <span class="comment"> * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,</span>
|
||
|
00020 <span class="comment"> * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF</span>
|
||
|
00021 <span class="comment"> * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND</span>
|
||
|
00022 <span class="comment"> * NON-INFRINGEMENT. IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS</span>
|
||
|
00023 <span class="comment"> * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN</span>
|
||
|
00024 <span class="comment"> * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN</span>
|
||
|
00025 <span class="comment"> * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE</span>
|
||
|
00026 <span class="comment"> * SOFTWARE.</span>
|
||
|
00027 <span class="comment"> */</span>
|
||
|
00028
|
||
|
00029 <span class="comment">/*</span>
|
||
|
00030 <span class="comment"> * Authors:</span>
|
||
|
00031 <span class="comment"> * Rickard E. (Rik) Faith <faith@redhat.com></span>
|
||
|
00032 <span class="comment"> *</span>
|
||
|
00033 <span class="comment"> */</span>
|
||
|
00034
|
||
|
00039 <span class="preprocessor">#ifndef _DMXLOG_H_</span>
|
||
|
00040 <span class="preprocessor"></span><span class="preprocessor">#define _DMXLOG_H_</span>
|
||
|
00041 <span class="preprocessor"></span>
|
||
|
<a name="l00043"></a><a class="code" href="dmxlog_8h.html#a18">00043</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> {
|
||
|
00044 <a class="code" href="dmxlog_8h.html#a18a0">dmxDebug</a>,
|
||
|
00045 <a class="code" href="dmxlog_8h.html#a18a1">dmxInfo</a>,
|
||
|
00046 <a class="code" href="dmxlog_8h.html#a18a2">dmxWarning</a>,
|
||
|
00049 <a class="code" href="dmxlog_8h.html#a18a3">dmxError</a>,
|
||
|
00052 <a class="code" href="dmxlog_8h.html#a18a4">dmxFatal</a>
|
||
|
00054 } <a class="code" href="dmxlog_8h.html#a18">dmxLogLevel</a>;
|
||
|
00055
|
||
|
00056 <span class="comment">/* Logging functions used by Xserver/hw/dmx routines. */</span>
|
||
|
00057 <span class="keyword">extern</span> <a class="code" href="dmxlog_8h.html#a18">dmxLogLevel</a> <a class="code" href="dmxlog_8c.html#a1">dmxSetLogLevel</a>(dmxLogLevel newLevel);
|
||
|
00058 <span class="keyword">extern</span> <a class="code" href="dmxlog_8h.html#a18">dmxLogLevel</a> <a class="code" href="dmxlog_8c.html#a2">dmxGetLogLevel</a>(<span class="keywordtype">void</span>);
|
||
|
00059 <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="dmxlog_8c.html#a7">dmxLog</a>(dmxLogLevel logLevel, <span class="keyword">const</span> <span class="keywordtype">char</span> *format, ...);
|
||
|
00060 <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="dmxlog_8c.html#a8">dmxLogCont</a>(dmxLogLevel logLevel, <span class="keyword">const</span> <span class="keywordtype">char</span> *format, ...);
|
||
|
00061 <span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="dmxlog_8c.html#a17">dmxEventName</a>(<span class="keywordtype">int</span> type);
|
||
|
00062
|
||
|
00063 <span class="preprocessor">#ifndef DMX_LOG_STANDALONE</span>
|
||
|
00064 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="dmxlog_8c.html#a9">dmxLogOutput</a>(<a class="code" href="struct__DMXScreenInfo.html">DMXScreenInfo</a> *dmxScreen, <span class="keyword">const</span> <span class="keywordtype">char</span> *format, ...);
|
||
|
00065 <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="dmxlog_8c.html#a10">dmxLogOutputCont</a>(<a class="code" href="struct__DMXScreenInfo.html">DMXScreenInfo</a> *dmxScreen, <span class="keyword">const</span> <span class="keywordtype">char</span> *format,
|
||
|
00066 ...);
|
||
|
00067 <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="dmxlog_8c.html#a11">dmxLogOutputWarning</a>(<a class="code" href="struct__DMXScreenInfo.html">DMXScreenInfo</a> *dmxScreen, <span class="keyword">const</span> <span class="keywordtype">char</span> *format,
|
||
|
00068 ...);
|
||
|
00069 <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="dmxlog_8c.html#a12">dmxLogInput</a>(<a class="code" href="struct__DMXInputInfo.html">DMXInputInfo</a> *dmxInput, <span class="keyword">const</span> <span class="keywordtype">char</span> *format, ...);
|
||
|
00070 <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="dmxlog_8c.html#a13">dmxLogInputCont</a>(<a class="code" href="struct__DMXInputInfo.html">DMXInputInfo</a> *dmxInput, <span class="keyword">const</span> <span class="keywordtype">char</span> *format, ...);
|
||
|
00071 <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="dmxlog_8c.html#a14">dmxLogArgs</a>(dmxLogLevel logLevel, <span class="keywordtype">int</span> argc, <span class="keywordtype">char</span> **argv);
|
||
|
00072 <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="dmxlog_8c.html#a15">dmxLogVisual</a>(<a class="code" href="struct__DMXScreenInfo.html">DMXScreenInfo</a> *dmxScreen, XVisualInfo *vi,
|
||
|
00073 <span class="keywordtype">int</span> defaultVisual);
|
||
|
00074 <span class="preprocessor">#ifdef XINPUT</span>
|
||
|
00075 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="dmxlog_8c.html#a16">dmxXInputEventName</a>(<span class="keywordtype">int</span> type);
|
||
|
00076 <span class="preprocessor">#endif</span>
|
||
|
00077 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||
|
00078 <span class="preprocessor"></span>
|
||
|
00079 <span class="preprocessor">#endif</span>
|
||
|
</pre></div> <hr>
|
||
|
<address>
|
||
|
<small>
|
||
|
Generated June 29, 2004 for <a
|
||
|
href="http://dmx.sourceforge.net">Distributed Multihead X</a> by
|
||
|
<a href="http://www.doxygen.org/index.html">doxygen</a>
|
||
|
1.3.4.
|
||
|
</small>
|
||
|
</addres>
|
||
|
</hr>
|
||
|
</body>
|
||
|
</html>
|