diff options
Diffstat (limited to 'xorg-server/hw/dmx/doc/html/dmxsigio_8c.html')
-rw-r--r-- | xorg-server/hw/dmx/doc/html/dmxsigio_8c.html | 503 |
1 files changed, 327 insertions, 176 deletions
diff --git a/xorg-server/hw/dmx/doc/html/dmxsigio_8c.html b/xorg-server/hw/dmx/doc/html/dmxsigio_8c.html index 761748dae..71d42cb4a 100644 --- a/xorg-server/hw/dmx/doc/html/dmxsigio_8c.html +++ b/xorg-server/hw/dmx/doc/html/dmxsigio_8c.html @@ -6,216 +6,367 @@ <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>dmxsigio.c File Reference</h1><code>#include "inputstr.h"</code><br> -<code>#include "<a class="el" href="dmxinputinit_8h-source.html">dmxinputinit.h</a>"</code><br> -<code>#include "<a class="el" href="dmxsigio_8h-source.html">dmxsigio.h</a>"</code><br> -<code>#include "<a class="el" href="dmxevents_8h-source.html">dmxevents.h</a>"</code><br> -<code>#include <signal.h></code><br> -<code>#include <unistd.h></code><br> -<code>#include <sys/fcntl.h></code><br> -<table border=0 cellpadding=0 cellspacing=0> -<tr><td></td></tr> -<tr><td colspan=2><br><h2>Functions</h2></td></tr> -<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> +<!-- Generated by Doxygen 1.6.1 --> +<div class="navigation" id="top"> + <div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="annotated.html"><span>Data 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 List</span></a></li> + <li><a href="globals.html"><span>Globals</span></a></li> + </ul> + </div> +</div> +<div class="contents"> +<h1>dmxsigio.c File Reference</h1><code>#include "inputstr.h"</code><br/> +<code>#include "<a class="el" href="dmxinputinit_8h_source.html">dmxinputinit.h</a>"</code><br/> +<code>#include "<a class="el" href="dmxsigio_8h_source.html">dmxsigio.h</a>"</code><br/> +<code>#include "<a class="el" href="dmxevents_8h_source.html">dmxevents.h</a>"</code><br/> +<code>#include <signal.h></code><br/> +<code>#include <unistd.h></code><br/> +<code>#include <fcntl.h></code><br/> +<table border="0" cellpadding="0" cellspacing="0"> +<tr><td colspan="2"><h2>Defines</h2></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxsigio_8c.html#ac5d0c9848f853f8b026b1211b93f78b1">O_ASYNC</a> 0</td></tr> +<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxsigio_8c.html#a39d33ce33804efd4d52606d59071c6d8">O_NONBLOCK</a> FNONBLK</td></tr> +<tr><td colspan="2"><h2>Functions</h2></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxsigio_8c.html#a7d77ce64f0495ed7bb1f5bfcde316371">dmxSigioHandler</a> (int sig)</td></tr> +<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxsigio_8c.html#a0ab74a514a7e18842b085aa001553137">dmxSigioBlock</a> (void)</td></tr> +<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxsigio_8c.html#aadc7d1d3b885b68d326ccc8ae1c17d11">dmxSigioUnblock</a> (void)</td></tr> +<tr><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxsigio_8c.html#a71472c553212e8de00f36e072c378a6c">dmxSigioHook</a> (void)</td></tr> +<tr><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxsigio_8c.html#a0092cc73f6beb3d16b542a8527f1cbf6">dmxSigioUnhook</a> (void)</td></tr> +<tr><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxsigio_8c.html#a6651a6fe035f3ba2d8f09a730bc9c0cb">dmxSigioAdd</a> (<a class="el" href="struct__DMXInputInfo.html">DMXInputInfo</a> *dmxInput)</td></tr> +<tr><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxsigio_8c.html#a9d563164ebc1ef320b68136f69bec3aa">dmxSigioRemove</a> (<a class="el" href="struct__DMXInputInfo.html">DMXInputInfo</a> *dmxInput)</td></tr> +<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxsigio_8c.html#a86b07a489751508e422ce60fc4ad332d">dmxSigioEnableInput</a> (void)</td></tr> +<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxsigio_8c.html#aea86e1800e644fac954c6bbf6012c7aa">dmxSigioDisableInput</a> (void)</td></tr> +<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxsigio_8c.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 </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxsigio_8c.html#ac447ef5c9a3aa88a5cb049ea0beecfd2">dmxSigioUnregister</a> (<a class="el" href="struct__DMXInputInfo.html">DMXInputInfo</a> *dmxInput)</td></tr> +<tr><td colspan="2"><h2>Variables</h2></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxsigio_8c.html#ac926cb5aa8d124192f381a9e05d49cb8">dmxFdCount</a> = 0</td></tr> +<tr><td class="memItemLeft" align="right" valign="top">static Bool </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxsigio_8c.html#ace65587735b6bff523a064f6ad1f978f">dmxInputEnabled</a> = TRUE</td></tr> +</table> +<hr/><a name="_details"></a><h2>Detailed Description</h2> +<p>Provides an interface for handling SIGIO signals for input devices. </p> +<hr/><h2>Define Documentation</h2> +<a class="anchor" id="ac5d0c9848f853f8b026b1211b93f78b1"></a><!-- doxytag: member="dmxsigio.c::O_ASYNC" ref="ac5d0c9848f853f8b026b1211b93f78b1" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define O_ASYNC 0</td> + </tr> + </table> +</div> +<div class="memdoc"> -<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> +<p>Referenced by <a class="el" href="dmxsigio_8c_source.html#l00133">dmxSigioAdd()</a>, and <a class="el" href="dmxsigio_8c_source.html#l00161">dmxSigioRemove()</a>.</p> -<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> +</div> +</div> +<a class="anchor" id="a39d33ce33804efd4d52606d59071c6d8"></a><!-- doxytag: member="dmxsigio.c::O_NONBLOCK" ref="a39d33ce33804efd4d52606d59071c6d8" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define O_NONBLOCK FNONBLK</td> + </tr> + </table> +</div> +<div class="memdoc"> -<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> +<p>Referenced by <a class="el" href="dmxsigio_8c_source.html#l00133">dmxSigioAdd()</a>, <a class="el" href="dmxsigio_8c_source.html#l00161">dmxSigioRemove()</a>, <a class="el" href="lnx-keyboard_8c_source.html#l00428">kbdLinuxOpenVT()</a>, <a class="el" href="lnx-ms_8c_source.html#l00214">msLinuxInit()</a>, <a class="el" href="lnx-ps2_8c_source.html#l00208">ps2LinuxInit()</a>, and <a class="el" href="usb-common_8c_source.html#l00272">usbInit()</a>.</p> -<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> +</div> +</div> +<hr/><h2>Function Documentation</h2> +<a class="anchor" id="a6651a6fe035f3ba2d8f09a730bc9c0cb"></a><!-- doxytag: member="dmxsigio.c::dmxSigioAdd" ref="a6651a6fe035f3ba2d8f09a730bc9c0cb" args="(DMXInputInfo *dmxInput)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">static void dmxSigioAdd </td> + <td>(</td> + <td class="paramtype"><a class="el" href="struct__DMXInputInfo.html">DMXInputInfo</a> * </td> + <td class="paramname"> <em>dmxInput</em></td> + <td> ) </td> + <td><code> [static]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> -<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> +<p>References <a class="el" href="dmxinput_8h_source.html#l00078">DMX_ACTIVESIGIO</a>, <a class="el" href="dmxinput_8h_source.html#l00074">DMX_NOSIGIO</a>, <a class="el" href="dmxinput_8h_source.html#l00075">DMX_USESIGIO</a>, <a class="el" href="dmxsigio_8c_source.html#l00050">dmxFdCount</a>, <a class="el" href="dmxsigio_8c_source.html#l00106">dmxSigioHook()</a>, <a class="el" href="dmxsigio_8c_source.html#l00058">O_ASYNC</a>, <a class="el" href="dmxsigio_8c_source.html#l00062">O_NONBLOCK</a>, <a class="el" href="dmxinput_8h_source.html#l00109">_DMXInputInfo::sigioAdded</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> -</table> -<hr><a name="_details"></a><h2>Detailed Description</h2> -Provides an interface for handling SIGIO signals for input devices.<hr><h2>Function Documentation</h2> -<a class="anchor" name="a5" doxytag="dmxsigio.c::dmxSigioBlock" ></a><p> -<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> - <tr> - <td class="mdRow"> - <table cellpadding="0" cellspacing="0" border="0"> - <tr> - <td class="md" nowrap valign="top"> void dmxSigioBlock </td> - <td class="md" valign="top">( </td> - <td class="md" nowrap valign="top">void </td> - <td class="mdname1" valign="top" nowrap> </td> - <td class="md" valign="top"> ) </td> - <td class="md" nowrap></td> - </tr> +<p>Referenced by <a class="el" href="dmxsigio_8c_source.html#l00189">dmxSigioEnableInput()</a>, and <a class="el" href="dmxsigio_8c_source.html#l00214">dmxSigioRegister()</a>.</p> +</div> +</div> +<a class="anchor" id="a0ab74a514a7e18842b085aa001553137"></a><!-- doxytag: member="dmxsigio.c::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 </td> + <td class="paramname"></td> + <td> ) </td> + <td></td> + </tr> </table> - </td> - </tr> -</table> -<table cellspacing=5 cellpadding=0 border=0> - <tr> - <td> - - </td> - <td> - -<p> -Block SIGIO handling. </td> - </tr> -</table> -<a class="anchor" name="a12" doxytag="dmxsigio.c::dmxSigioDisableInput" ></a><p> -<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> - <tr> - <td class="mdRow"> - <table cellpadding="0" cellspacing="0" border="0"> +</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.c::dmxSigioDisableInput" ref="aea86e1800e644fac954c6bbf6012c7aa" args="(void)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> <tr> - <td class="md" nowrap valign="top"> void dmxSigioDisableInput </td> - <td class="md" valign="top">( </td> - <td class="md" nowrap valign="top">void </td> - <td class="mdname1" valign="top" nowrap> </td> - <td class="md" valign="top"> ) </td> - <td class="md" nowrap></td> + <td class="memname">void dmxSigioDisableInput </td> + <td>(</td> + <td class="paramtype">void </td> + <td class="paramname"></td> + <td> ) </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.c::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 </td> + <td class="paramname"></td> + <td> ) </td> + <td></td> + </tr> </table> - </td> - </tr> -</table> -<table cellspacing=5 cellpadding=0 border=0> - <tr> - <td> - - </td> - <td> - -<p> -Disable SIGIO handling. This removes the hanlder from the OS. </td> - </tr> -</table> -<a class="anchor" name="a11" doxytag="dmxsigio.c::dmxSigioEnableInput" ></a><p> -<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> - <tr> - <td class="mdRow"> - <table cellpadding="0" cellspacing="0" border="0"> +</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="a7d77ce64f0495ed7bb1f5bfcde316371"></a><!-- doxytag: member="dmxsigio.c::dmxSigioHandler" ref="a7d77ce64f0495ed7bb1f5bfcde316371" args="(int sig)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> <tr> - <td class="md" nowrap valign="top"> void dmxSigioEnableInput </td> - <td class="md" valign="top">( </td> - <td class="md" nowrap valign="top">void </td> - <td class="mdname1" valign="top" nowrap> </td> - <td class="md" valign="top"> ) </td> - <td class="md" nowrap></td> + <td class="memname">static void dmxSigioHandler </td> + <td>(</td> + <td class="paramtype">int </td> + <td class="paramname"> <em>sig</em></td> + <td> ) </td> + <td><code> [static]</code></td> </tr> + </table> +</div> +<div class="memdoc"> + +<p>References <a class="el" href="dmxinputinit_8h_source.html#l00216">_DMXLocalInputInfo::collect_events</a>, <a class="el" href="dmxinput_8h_source.html#l00125">_DMXInputInfo::devs</a>, <a class="el" href="dmxinput_8h_source.html#l00078">DMX_ACTIVESIGIO</a>, <a class="el" href="dmxinput_8h_source.html#l00148">DMX_NO_BLOCK</a>, <a class="el" href="dmxevents_8c_source.html#l00743">dmxCheckSpecialKeys()</a>, <a class="el" href="dmxevents_8c_source.html#l00659">dmxEnqueue()</a>, <a class="el" href="dmxinit_8c_source.html#l00087">dmxInputs</a>, <a class="el" href="dmxevents_8c_source.html#l00556">dmxMotion()</a>, <a class="el" href="dmxinit_8c_source.html#l00086">dmxNumInputs</a>, <a class="el" href="dmxinput_8h_source.html#l00119">_DMXInputInfo::numDevs</a>, <a class="el" href="dmxinputinit_8h_source.html#l00235">_DMXLocalInputInfo::pDevice</a>, and <a class="el" href="dmxinput_8h_source.html#l00106">_DMXInputInfo::sigioState</a>.</p> + +<p>Referenced by <a class="el" href="dmxsigio_8c_source.html#l00106">dmxSigioHook()</a>.</p> +</div> +</div> +<a class="anchor" id="a71472c553212e8de00f36e072c378a6c"></a><!-- doxytag: member="dmxsigio.c::dmxSigioHook" ref="a71472c553212e8de00f36e072c378a6c" args="(void)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">static void dmxSigioHook </td> + <td>(</td> + <td class="paramtype">void </td> + <td class="paramname"></td> + <td> ) </td> + <td><code> [static]</code></td> + </tr> </table> - </td> - </tr> -</table> -<table cellspacing=5 cellpadding=0 border=0> - <tr> - <td> - - </td> - <td> - -<p> -Enable SIGIO handling. This instantiates the handler with the OS. </td> - </tr> -</table> -<a class="anchor" name="a13" doxytag="dmxsigio.c::dmxSigioRegister" ></a><p> -<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> - <tr> - <td class="mdRow"> - <table cellpadding="0" cellspacing="0" border="0"> +</div> +<div class="memdoc"> + +<p>References <a class="el" href="dmxsigio_8c_source.html#l00065">dmxSigioHandler()</a>.</p> + +<p>Referenced by <a class="el" href="dmxsigio_8c_source.html#l00133">dmxSigioAdd()</a>.</p> + +</div> +</div> +<a class="anchor" id="ac3cccb6a8d72aaa0c7ac64f061d0b877"></a><!-- doxytag: member="dmxsigio.c::dmxSigioRegister" ref="ac3cccb6a8d72aaa0c7ac64f061d0b877" args="(DMXInputInfo *dmxInput, int fd)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> <tr> - <td class="md" nowrap valign="top"> void dmxSigioRegister </td> - <td class="md" valign="top">( </td> - <td class="md" nowrap valign="top"><a class="el" href="struct__DMXInputInfo.html">DMXInputInfo</a> * </td> - <td class="mdname" nowrap> <em>dmxInput</em>, </td> + <td class="memname">void dmxSigioRegister </td> + <td>(</td> + <td class="paramtype"><a class="el" href="struct__DMXInputInfo.html">DMXInputInfo</a> * </td> + <td class="paramname"> <em>dmxInput</em>, </td> </tr> <tr> + <td class="paramkey"></td> <td></td> - <td></td> - <td class="md" nowrap>int </td> - <td class="mdname" nowrap> <em>fd</em></td> + <td class="paramtype">int </td> + <td class="paramname"> <em>fd</em></td><td> </td> </tr> <tr> <td></td> - <td class="md">) </td> - <td class="md" colspan="2"></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="a9d563164ebc1ef320b68136f69bec3aa"></a><!-- doxytag: member="dmxsigio.c::dmxSigioRemove" ref="a9d563164ebc1ef320b68136f69bec3aa" args="(DMXInputInfo *dmxInput)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">static void dmxSigioRemove </td> + <td>(</td> + <td class="paramtype"><a class="el" href="struct__DMXInputInfo.html">DMXInputInfo</a> * </td> + <td class="paramname"> <em>dmxInput</em></td> + <td> ) </td> + <td><code> [static]</code></td> + </tr> </table> - </td> - </tr> -</table> -<table cellspacing=5 cellpadding=0 border=0> - <tr> - <td> - - </td> - <td> - -<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#a11">dmxSigioEnableInput()</a>. </td> - </tr> -</table> -<a class="anchor" name="a6" doxytag="dmxsigio.c::dmxSigioUnblock" ></a><p> -<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> - <tr> - <td class="mdRow"> - <table cellpadding="0" cellspacing="0" border="0"> +</div> +<div class="memdoc"> + +<p>References <a class="el" href="dmxinput_8h_source.html#l00078">DMX_ACTIVESIGIO</a>, <a class="el" href="dmxinput_8h_source.html#l00074">DMX_NOSIGIO</a>, <a class="el" href="dmxinput_8h_source.html#l00075">DMX_USESIGIO</a>, <a class="el" href="dmxsigio_8c_source.html#l00050">dmxFdCount</a>, <a class="el" href="dmxsigio_8c_source.html#l00123">dmxSigioUnhook()</a>, <a class="el" href="dmxsigio_8c_source.html#l00058">O_ASYNC</a>, <a class="el" href="dmxsigio_8c_source.html#l00062">O_NONBLOCK</a>, <a class="el" href="dmxinput_8h_source.html#l00109">_DMXInputInfo::sigioAdded</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="dmxsigio_8c_source.html#l00200">dmxSigioDisableInput()</a>, and <a class="el" href="dmxsigio_8c_source.html#l00227">dmxSigioUnregister()</a>.</p> + +</div> +</div> +<a class="anchor" id="aadc7d1d3b885b68d326ccc8ae1c17d11"></a><!-- doxytag: member="dmxsigio.c::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 </td> + <td class="paramname"></td> + <td> ) </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="a0092cc73f6beb3d16b542a8527f1cbf6"></a><!-- doxytag: member="dmxsigio.c::dmxSigioUnhook" ref="a0092cc73f6beb3d16b542a8527f1cbf6" args="(void)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> <tr> - <td class="md" nowrap valign="top"> void dmxSigioUnblock </td> - <td class="md" valign="top">( </td> - <td class="md" nowrap valign="top">void </td> - <td class="mdname1" valign="top" nowrap> </td> - <td class="md" valign="top"> ) </td> - <td class="md" nowrap></td> + <td class="memname">static void dmxSigioUnhook </td> + <td>(</td> + <td class="paramtype">void </td> + <td class="paramname"></td> + <td> ) </td> + <td><code> [static]</code></td> </tr> + </table> +</div> +<div class="memdoc"> + +<p>Referenced by <a class="el" href="dmxsigio_8c_source.html#l00161">dmxSigioRemove()</a>.</p> +</div> +</div> +<a class="anchor" id="ac447ef5c9a3aa88a5cb049ea0beecfd2"></a><!-- doxytag: member="dmxsigio.c::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> * </td> + <td class="paramname"> <em>dmxInput</em></td> + <td> ) </td> + <td></td> + </tr> </table> - </td> - </tr> -</table> -<table cellspacing=5 cellpadding=0 border=0> - <tr> - <td> - - </td> - <td> - -<p> -Unblock SIGIO handling. </td> - </tr> -</table> -<a class="anchor" name="a14" doxytag="dmxsigio.c::dmxSigioUnregister" ></a><p> -<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> - <tr> - <td class="mdRow"> - <table cellpadding="0" cellspacing="0" border="0"> +</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> +<hr/><h2>Variable Documentation</h2> +<a class="anchor" id="ac926cb5aa8d124192f381a9e05d49cb8"></a><!-- doxytag: member="dmxsigio.c::dmxFdCount" ref="ac926cb5aa8d124192f381a9e05d49cb8" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> <tr> - <td class="md" nowrap valign="top"> void dmxSigioUnregister </td> - <td class="md" valign="top">( </td> - <td class="md" nowrap valign="top"><a class="el" href="struct__DMXInputInfo.html">DMXInputInfo</a> * </td> - <td class="mdname1" valign="top" nowrap> <em>dmxInput</em> </td> - <td class="md" valign="top"> ) </td> - <td class="md" nowrap></td> + <td class="memname">int <a class="el" href="dmxsigio_8c.html#ac926cb5aa8d124192f381a9e05d49cb8">dmxFdCount</a> = 0<code> [static]</code></td> </tr> + </table> +</div> +<div class="memdoc"> + +<p>Referenced by <a class="el" href="dmxsigio_8c_source.html#l00133">dmxSigioAdd()</a>, and <a class="el" href="dmxsigio_8c_source.html#l00161">dmxSigioRemove()</a>.</p> +</div> +</div> +<a class="anchor" id="ace65587735b6bff523a064f6ad1f978f"></a><!-- doxytag: member="dmxsigio.c::dmxInputEnabled" ref="ace65587735b6bff523a064f6ad1f978f" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">Bool <a class="el" href="dmxsigio_8c.html#ace65587735b6bff523a064f6ad1f978f">dmxInputEnabled</a> = TRUE<code> [static]</code></td> + </tr> </table> - </td> - </tr> -</table> -<table cellspacing=5 cellpadding=0 border=0> - <tr> - <td> - - </td> - <td> - -<p> -Remove the notes that <em>dmxInput</em> is using any file descriptors for SIGIO signals. Calls RemoveEnabledDevice. </td> - </tr> -</table> +</div> +<div class="memdoc"> + +<p>Referenced by <a class="el" href="dmxsigio_8c_source.html#l00200">dmxSigioDisableInput()</a>, <a class="el" href="dmxsigio_8c_source.html#l00189">dmxSigioEnableInput()</a>, and <a class="el" href="dmxsigio_8c_source.html#l00214">dmxSigioRegister()</a>.</p> + +</div> +</div> +</div> <hr> <address> <small> |