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.3.4 -->
10 <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>
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
<signal.h
></code><br>
16 <code>#include
<unistd.h
></code><br>
17 <code>#include
<sys/fcntl.h
></code><br>
18 <table border=
0 cellpadding=
0 cellspacing=
0>
20 <tr><td colspan=
2><br><h2>Functions
</h2></td></tr>
21 <tr><td class=
"memItemLeft" nowrap align=right valign=top
>void
</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
</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
</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
</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
</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
</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>
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">
40 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
42 <td class=
"md" nowrap
valign=
"top"> void dmxSigioBlock
</td>
43 <td class=
"md" valign=
"top">(
</td>
44 <td class=
"md" nowrap
valign=
"top">void
</td>
45 <td class=
"mdname1" valign=
"top" nowrap
> </td>
46 <td class=
"md" valign=
"top"> )
</td>
47 <td class=
"md" nowrap
></td>
54 <table cellspacing=
5 cellpadding=
0 border=
0>
62 Block SIGIO handling.
</td>
65 <a class=
"anchor" name=
"a12" doxytag=
"dmxsigio.c::dmxSigioDisableInput" ></a><p>
66 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
69 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
71 <td class=
"md" nowrap
valign=
"top"> void dmxSigioDisableInput
</td>
72 <td class=
"md" valign=
"top">(
</td>
73 <td class=
"md" nowrap
valign=
"top">void
</td>
74 <td class=
"mdname1" valign=
"top" nowrap
> </td>
75 <td class=
"md" valign=
"top"> )
</td>
76 <td class=
"md" nowrap
></td>
83 <table cellspacing=
5 cellpadding=
0 border=
0>
91 Disable SIGIO handling. This removes the hanlder from the OS.
</td>
94 <a class=
"anchor" name=
"a11" doxytag=
"dmxsigio.c::dmxSigioEnableInput" ></a><p>
95 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
98 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
100 <td class=
"md" nowrap
valign=
"top"> void dmxSigioEnableInput
</td>
101 <td class=
"md" valign=
"top">(
</td>
102 <td class=
"md" nowrap
valign=
"top">void
</td>
103 <td class=
"mdname1" valign=
"top" nowrap
> </td>
104 <td class=
"md" valign=
"top"> )
</td>
105 <td class=
"md" nowrap
></td>
112 <table cellspacing=
5 cellpadding=
0 border=
0>
120 Enable SIGIO handling. This instantiates the handler with the OS.
</td>
123 <a class=
"anchor" name=
"a13" doxytag=
"dmxsigio.c::dmxSigioRegister" ></a><p>
124 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
127 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
129 <td class=
"md" nowrap
valign=
"top"> void dmxSigioRegister
</td>
130 <td class=
"md" valign=
"top">(
</td>
131 <td class=
"md" nowrap
valign=
"top"><a class=
"el" href=
"struct__DMXInputInfo.html">DMXInputInfo
</a> *
</td>
132 <td class=
"mdname" nowrap
> <em>dmxInput
</em>,
</td>
137 <td class=
"md" nowrap
>int
</td>
138 <td class=
"mdname" nowrap
> <em>fd
</em></td>
142 <td class=
"md">)
</td>
143 <td class=
"md" colspan=
"2"></td>
150 <table cellspacing=
5 cellpadding=
0 border=
0>
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>
161 <a class=
"anchor" name=
"a6" doxytag=
"dmxsigio.c::dmxSigioUnblock" ></a><p>
162 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
165 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
167 <td class=
"md" nowrap
valign=
"top"> void dmxSigioUnblock
</td>
168 <td class=
"md" valign=
"top">(
</td>
169 <td class=
"md" nowrap
valign=
"top">void
</td>
170 <td class=
"mdname1" valign=
"top" nowrap
> </td>
171 <td class=
"md" valign=
"top"> )
</td>
172 <td class=
"md" nowrap
></td>
179 <table cellspacing=
5 cellpadding=
0 border=
0>
187 Unblock SIGIO handling.
</td>
190 <a class=
"anchor" name=
"a14" doxytag=
"dmxsigio.c::dmxSigioUnregister" ></a><p>
191 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
194 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
196 <td class=
"md" nowrap
valign=
"top"> void dmxSigioUnregister
</td>
197 <td class=
"md" valign=
"top">(
</td>
198 <td class=
"md" nowrap
valign=
"top"><a class=
"el" href=
"struct__DMXInputInfo.html">DMXInputInfo
</a> *
</td>
199 <td class=
"mdname1" valign=
"top" nowrap
> <em>dmxInput
</em> </td>
200 <td class=
"md" valign=
"top"> )
</td>
201 <td class=
"md" nowrap
></td>
208 <table cellspacing=
5 cellpadding=
0 border=
0>
216 Remove the notes that
<em>dmxInput
</em> is using any file descriptors for SIGIO signals. Calls RemoveEnabledDevice.
</td>
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>