First import
[xorg_rtime.git] / xorg-server-1.4 / hw / dmx / doc / html / dmxsigio_8c.html
blob761748dae8dc86816a5ee186b8f8e147afb22284
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2 <html>
3 <head>
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">
7 </head>
8 <body>
9 <!-- Generated by Doxygen 1.3.4 -->
10 <div class="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a></div>
11 <h1>dmxsigio.c File Reference</h1><code>#include "inputstr.h"</code><br>
12 <code>#include "<a class="el" href="dmxinputinit_8h-source.html">dmxinputinit.h</a>"</code><br>
13 <code>#include "<a class="el" href="dmxsigio_8h-source.html">dmxsigio.h</a>"</code><br>
14 <code>#include "<a class="el" href="dmxevents_8h-source.html">dmxevents.h</a>"</code><br>
15 <code>#include &lt;signal.h&gt;</code><br>
16 <code>#include &lt;unistd.h&gt;</code><br>
17 <code>#include &lt;sys/fcntl.h&gt;</code><br>
18 <table border=0 cellpadding=0 cellspacing=0>
19 <tr><td></td></tr>
20 <tr><td colspan=2><br><h2>Functions</h2></td></tr>
21 <tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxsigio_8c.html#a5">dmxSigioBlock</a> (void)</td></tr>
23 <tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxsigio_8c.html#a6">dmxSigioUnblock</a> (void)</td></tr>
25 <tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxsigio_8c.html#a11">dmxSigioEnableInput</a> (void)</td></tr>
27 <tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxsigio_8c.html#a12">dmxSigioDisableInput</a> (void)</td></tr>
29 <tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxsigio_8c.html#a13">dmxSigioRegister</a> (<a class="el" href="struct__DMXInputInfo.html">DMXInputInfo</a> *dmxInput, int fd)</td></tr>
31 <tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxsigio_8c.html#a14">dmxSigioUnregister</a> (<a class="el" href="struct__DMXInputInfo.html">DMXInputInfo</a> *dmxInput)</td></tr>
33 </table>
34 <hr><a name="_details"></a><h2>Detailed Description</h2>
35 Provides an interface for handling SIGIO signals for input devices.<hr><h2>Function Documentation</h2>
36 <a class="anchor" name="a5" doxytag="dmxsigio.c::dmxSigioBlock" ></a><p>
37 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
38 <tr>
39 <td class="mdRow">
40 <table cellpadding="0" cellspacing="0" border="0">
41 <tr>
42 <td class="md" nowrap valign="top"> void dmxSigioBlock </td>
43 <td class="md" valign="top">(&nbsp;</td>
44 <td class="md" nowrap valign="top">void&nbsp;</td>
45 <td class="mdname1" valign="top" nowrap> </td>
46 <td class="md" valign="top">&nbsp;)&nbsp;</td>
47 <td class="md" nowrap></td>
48 </tr>
50 </table>
51 </td>
52 </tr>
53 </table>
54 <table cellspacing=5 cellpadding=0 border=0>
55 <tr>
56 <td>
57 &nbsp;
58 </td>
59 <td>
61 <p>
62 Block SIGIO handling. </td>
63 </tr>
64 </table>
65 <a class="anchor" name="a12" doxytag="dmxsigio.c::dmxSigioDisableInput" ></a><p>
66 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
67 <tr>
68 <td class="mdRow">
69 <table cellpadding="0" cellspacing="0" border="0">
70 <tr>
71 <td class="md" nowrap valign="top"> void dmxSigioDisableInput </td>
72 <td class="md" valign="top">(&nbsp;</td>
73 <td class="md" nowrap valign="top">void&nbsp;</td>
74 <td class="mdname1" valign="top" nowrap> </td>
75 <td class="md" valign="top">&nbsp;)&nbsp;</td>
76 <td class="md" nowrap></td>
77 </tr>
79 </table>
80 </td>
81 </tr>
82 </table>
83 <table cellspacing=5 cellpadding=0 border=0>
84 <tr>
85 <td>
86 &nbsp;
87 </td>
88 <td>
90 <p>
91 Disable SIGIO handling. This removes the hanlder from the OS. </td>
92 </tr>
93 </table>
94 <a class="anchor" name="a11" doxytag="dmxsigio.c::dmxSigioEnableInput" ></a><p>
95 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
96 <tr>
97 <td class="mdRow">
98 <table cellpadding="0" cellspacing="0" border="0">
99 <tr>
100 <td class="md" nowrap valign="top"> void dmxSigioEnableInput </td>
101 <td class="md" valign="top">(&nbsp;</td>
102 <td class="md" nowrap valign="top">void&nbsp;</td>
103 <td class="mdname1" valign="top" nowrap> </td>
104 <td class="md" valign="top">&nbsp;)&nbsp;</td>
105 <td class="md" nowrap></td>
106 </tr>
108 </table>
109 </td>
110 </tr>
111 </table>
112 <table cellspacing=5 cellpadding=0 border=0>
113 <tr>
114 <td>
115 &nbsp;
116 </td>
117 <td>
120 Enable SIGIO handling. This instantiates the handler with the OS. </td>
121 </tr>
122 </table>
123 <a class="anchor" name="a13" doxytag="dmxsigio.c::dmxSigioRegister" ></a><p>
124 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
125 <tr>
126 <td class="mdRow">
127 <table cellpadding="0" cellspacing="0" border="0">
128 <tr>
129 <td class="md" nowrap valign="top"> void dmxSigioRegister </td>
130 <td class="md" valign="top">(&nbsp;</td>
131 <td class="md" nowrap valign="top"><a class="el" href="struct__DMXInputInfo.html">DMXInputInfo</a> *&nbsp;</td>
132 <td class="mdname" nowrap> <em>dmxInput</em>, </td>
133 </tr>
134 <tr>
135 <td></td>
136 <td></td>
137 <td class="md" nowrap>int&nbsp;</td>
138 <td class="mdname" nowrap> <em>fd</em></td>
139 </tr>
140 <tr>
141 <td></td>
142 <td class="md">)&nbsp;</td>
143 <td class="md" colspan="2"></td>
144 </tr>
146 </table>
147 </td>
148 </tr>
149 </table>
150 <table cellspacing=5 cellpadding=0 border=0>
151 <tr>
152 <td>
153 &nbsp;
154 </td>
155 <td>
158 Make a note that the input device described in <em>dmxInput</em> will be using the file descriptor <em>fd</em> for SIGIO signals. Calls AddEnabledDevice ifi SIGIO handling has been enabled with <a class="el" href="dmxsigio_8c.html#a11">dmxSigioEnableInput()</a>. </td>
159 </tr>
160 </table>
161 <a class="anchor" name="a6" doxytag="dmxsigio.c::dmxSigioUnblock" ></a><p>
162 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
163 <tr>
164 <td class="mdRow">
165 <table cellpadding="0" cellspacing="0" border="0">
166 <tr>
167 <td class="md" nowrap valign="top"> void dmxSigioUnblock </td>
168 <td class="md" valign="top">(&nbsp;</td>
169 <td class="md" nowrap valign="top">void&nbsp;</td>
170 <td class="mdname1" valign="top" nowrap> </td>
171 <td class="md" valign="top">&nbsp;)&nbsp;</td>
172 <td class="md" nowrap></td>
173 </tr>
175 </table>
176 </td>
177 </tr>
178 </table>
179 <table cellspacing=5 cellpadding=0 border=0>
180 <tr>
181 <td>
182 &nbsp;
183 </td>
184 <td>
187 Unblock SIGIO handling. </td>
188 </tr>
189 </table>
190 <a class="anchor" name="a14" doxytag="dmxsigio.c::dmxSigioUnregister" ></a><p>
191 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
192 <tr>
193 <td class="mdRow">
194 <table cellpadding="0" cellspacing="0" border="0">
195 <tr>
196 <td class="md" nowrap valign="top"> void dmxSigioUnregister </td>
197 <td class="md" valign="top">(&nbsp;</td>
198 <td class="md" nowrap valign="top"><a class="el" href="struct__DMXInputInfo.html">DMXInputInfo</a> *&nbsp;</td>
199 <td class="mdname1" valign="top" nowrap> <em>dmxInput</em> </td>
200 <td class="md" valign="top">&nbsp;)&nbsp;</td>
201 <td class="md" nowrap></td>
202 </tr>
204 </table>
205 </td>
206 </tr>
207 </table>
208 <table cellspacing=5 cellpadding=0 border=0>
209 <tr>
210 <td>
211 &nbsp;
212 </td>
213 <td>
216 Remove the notes that <em>dmxInput</em> is using any file descriptors for SIGIO signals. Calls RemoveEnabledDevice. </td>
217 </tr>
218 </table>
219 <hr>
220 <address>
221 <small>
222 Generated June 29, 2004 for <a
223 href="http://dmx.sourceforge.net">Distributed Multihead X</a> by
224 <a href="http://www.doxygen.org/index.html">doxygen</a>
225 1.3.4.
226 </small>
227 </addres>
228 </hr>
229 </body>
230 </html>