aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw/dmx/doc/html/dmxsigio_8h.html
blob: 7353f4fbe696b8991eb61dfe0d51693fbf9e6d29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
<!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.6.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="annotated.html"><span>Data&nbsp;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&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>dmxsigio.h File Reference</h1>
<p><a href="dmxsigio_8h_source.html">Go to the source code of this file.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxsigio_8h.html#a0ab74a514a7e18842b085aa001553137">dmxSigioBlock</a> (void)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxsigio_8h.html#aadc7d1d3b885b68d326ccc8ae1c17d11">dmxSigioUnblock</a> (void)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxsigio_8h.html#a86b07a489751508e422ce60fc4ad332d">dmxSigioEnableInput</a> (void)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxsigio_8h.html#aea86e1800e644fac954c6bbf6012c7aa">dmxSigioDisableInput</a> (void)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxsigio_8h.html#ac3cccb6a8d72aaa0c7ac64f061d0b877">dmxSigioRegister</a> (<a class="el" href="struct__DMXInputInfo.html">DMXInputInfo</a> *dmxInput, int fd)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxsigio_8h.html#ac447ef5c9a3aa88a5cb049ea0beecfd2">dmxSigioUnregister</a> (<a class="el" href="struct__DMXInputInfo.html">DMXInputInfo</a> *dmxInput)</td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Interface to SIGIO handling support. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="dmxsigio_8c.html">dmxsigio.c</a> </dd></dl>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="a0ab74a514a7e18842b085aa001553137"></a><!-- doxytag: member="dmxsigio.h::dmxSigioBlock" ref="a0ab74a514a7e18842b085aa001553137" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void dmxSigioBlock </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Block SIGIO handling. </p>

<p>Referenced by <a class="el" href="dmxevents_8c_source.html#l00194">dmxCoreMotion()</a>, <a class="el" href="dmxevents_8c_source.html#l00281">dmxExtMotion()</a>, and <a class="el" href="dmxevents_8c_source.html#l00383">dmxTranslateAndEnqueueExtEvent()</a>.</p>

</div>
</div>
<a class="anchor" id="aea86e1800e644fac954c6bbf6012c7aa"></a><!-- doxytag: member="dmxsigio.h::dmxSigioDisableInput" ref="aea86e1800e644fac954c6bbf6012c7aa" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void dmxSigioDisableInput </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Disable SIGIO handling. This removes the hanlder from the OS. </p>

<p>References <a class="el" href="dmxsigio_8c_source.html#l00051">dmxInputEnabled</a>, <a class="el" href="dmxinit_8c_source.html#l00087">dmxInputs</a>, <a class="el" href="dmxinit_8c_source.html#l00086">dmxNumInputs</a>, and <a class="el" href="dmxsigio_8c_source.html#l00161">dmxSigioRemove()</a>.</p>

<p>Referenced by <a class="el" href="dmxinputinit_8c_source.html#l00641">dmxWakeupHandler()</a>.</p>

</div>
</div>
<a class="anchor" id="a86b07a489751508e422ce60fc4ad332d"></a><!-- doxytag: member="dmxsigio.h::dmxSigioEnableInput" ref="a86b07a489751508e422ce60fc4ad332d" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void dmxSigioEnableInput </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Enable SIGIO handling. This instantiates the handler with the OS. </p>

<p>References <a class="el" href="dmxsigio_8c_source.html#l00051">dmxInputEnabled</a>, <a class="el" href="dmxinit_8c_source.html#l00087">dmxInputs</a>, <a class="el" href="dmxinit_8c_source.html#l00086">dmxNumInputs</a>, and <a class="el" href="dmxsigio_8c_source.html#l00133">dmxSigioAdd()</a>.</p>

<p>Referenced by <a class="el" href="dmxinputinit_8c_source.html#l00625">dmxSwitchReturn()</a>.</p>

</div>
</div>
<a class="anchor" id="ac3cccb6a8d72aaa0c7ac64f061d0b877"></a><!-- doxytag: member="dmxsigio.h::dmxSigioRegister" ref="ac3cccb6a8d72aaa0c7ac64f061d0b877" args="(DMXInputInfo *dmxInput, int fd)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void dmxSigioRegister </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct__DMXInputInfo.html">DMXInputInfo</a> *&nbsp;</td>
          <td class="paramname"> <em>dmxInput</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>fd</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>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#a86b07a489751508e422ce60fc4ad332d">dmxSigioEnableInput()</a>. </p>

<p>References <a class="el" href="dmxinput_8h_source.html#l00051">DMX_MAX_SIGIO_FDS</a>, <a class="el" href="dmxinput_8h_source.html#l00075">DMX_USESIGIO</a>, <a class="el" href="dmxlog_8h_source.html#l00051">dmxFatal</a>, <a class="el" href="dmxsigio_8c_source.html#l00051">dmxInputEnabled</a>, <a class="el" href="dmxlog_8c_source.html#l00159">dmxLog()</a>, <a class="el" href="dmxsigio_8c_source.html#l00133">dmxSigioAdd()</a>, <a class="el" href="dmxinput_8h_source.html#l00108">_DMXInputInfo::sigioFd</a>, <a class="el" href="dmxinput_8h_source.html#l00107">_DMXInputInfo::sigioFdCount</a>, and <a class="el" href="dmxinput_8h_source.html#l00106">_DMXInputInfo::sigioState</a>.</p>

<p>Referenced by <a class="el" href="dmxinputinit_8c_source.html#l00430">dmxDeviceOnOff()</a>.</p>

</div>
</div>
<a class="anchor" id="aadc7d1d3b885b68d326ccc8ae1c17d11"></a><!-- doxytag: member="dmxsigio.h::dmxSigioUnblock" ref="aadc7d1d3b885b68d326ccc8ae1c17d11" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void dmxSigioUnblock </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Unblock SIGIO handling. </p>

<p>Referenced by <a class="el" href="dmxevents_8c_source.html#l00194">dmxCoreMotion()</a>, <a class="el" href="dmxevents_8c_source.html#l00281">dmxExtMotion()</a>, and <a class="el" href="dmxevents_8c_source.html#l00383">dmxTranslateAndEnqueueExtEvent()</a>.</p>

</div>
</div>
<a class="anchor" id="ac447ef5c9a3aa88a5cb049ea0beecfd2"></a><!-- doxytag: member="dmxsigio.h::dmxSigioUnregister" ref="ac447ef5c9a3aa88a5cb049ea0beecfd2" args="(DMXInputInfo *dmxInput)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void dmxSigioUnregister </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct__DMXInputInfo.html">DMXInputInfo</a> *&nbsp;</td>
          <td class="paramname"> <em>dmxInput</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Remove the notes that <em>dmxInput</em> is using any file descriptors for SIGIO signals. Calls RemoveEnabledDevice. </p>

<p>References <a class="el" href="dmxinput_8h_source.html#l00074">DMX_NOSIGIO</a>, <a class="el" href="dmxsigio_8c_source.html#l00161">dmxSigioRemove()</a>, <a class="el" href="dmxinput_8h_source.html#l00107">_DMXInputInfo::sigioFdCount</a>, and <a class="el" href="dmxinput_8h_source.html#l00106">_DMXInputInfo::sigioState</a>.</p>

<p>Referenced by <a class="el" href="dmxinputinit_8c_source.html#l00430">dmxDeviceOnOff()</a>.</p>

</div>
</div>
</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>