From 1f876171067c04fc21fccd5a3051f982fd85c0f0 Mon Sep 17 00:00:00 2001 From: marha Date: Wed, 21 Oct 2009 19:07:36 +0000 Subject: Updated to xorg-server-1.7.99.1 --- xorg-server/hw/dmx/doc/html/dmxsigio_8c.html | 503 +++++++++++++++++---------- 1 file changed, 327 insertions(+), 176 deletions(-) (limited to 'xorg-server/hw/dmx/doc/html/dmxsigio_8c.html') 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 @@ - -
Main Page | Alphabetical List | Data Structures | File List | Data Fields | Globals
-

dmxsigio.c File Reference

#include "inputstr.h"
-#include "dmxinputinit.h"
-#include "dmxsigio.h"
-#include "dmxevents.h"
-#include <signal.h>
-#include <unistd.h>
-#include <sys/fcntl.h>
- - - - + + +
+

dmxsigio.c File Reference

#include "inputstr.h"
+#include "dmxinputinit.h"
+#include "dmxsigio.h"
+#include "dmxevents.h"
+#include <signal.h>
+#include <unistd.h>
+#include <fcntl.h>
+

Functions

void dmxSigioBlock (void)
+ + + + + + + + + + + + + + + + + + +

Defines

#define O_ASYNC   0
#define O_NONBLOCK   FNONBLK

Functions

static void dmxSigioHandler (int sig)
void dmxSigioBlock (void)
void dmxSigioUnblock (void)
static void dmxSigioHook (void)
static void dmxSigioUnhook (void)
static void dmxSigioAdd (DMXInputInfo *dmxInput)
static void dmxSigioRemove (DMXInputInfo *dmxInput)
void dmxSigioEnableInput (void)
void dmxSigioDisableInput (void)
void dmxSigioRegister (DMXInputInfo *dmxInput, int fd)
void dmxSigioUnregister (DMXInputInfo *dmxInput)

Variables

static int dmxFdCount = 0
static Bool dmxInputEnabled = TRUE
+

Detailed Description

+

Provides an interface for handling SIGIO signals for input devices.

+

Define Documentation

+ +
+
+ + + + +
#define O_ASYNC   0
+
+
-void dmxSigioUnblock (void) +

Referenced by dmxSigioAdd(), and dmxSigioRemove().

-void dmxSigioEnableInput (void) +
+
+ +
+
+ + + + +
#define O_NONBLOCK   FNONBLK
+
+ +
+

Function Documentation

+ +
+
+ + + + + + + + + +
static void dmxSigioAdd (DMXInputInfo dmxInput )  [static]
+
+
-void dmxSigioUnregister (DMXInputInfo *dmxInput) +

References DMX_ACTIVESIGIO, DMX_NOSIGIO, DMX_USESIGIO, dmxFdCount, dmxSigioHook(), O_ASYNC, O_NONBLOCK, _DMXInputInfo::sigioAdded, _DMXInputInfo::sigioFd, _DMXInputInfo::sigioFdCount, and _DMXInputInfo::sigioState.

- -

Detailed Description

-Provides an interface for handling SIGIO signals for input devices.

Function Documentation

-

- - - - -
- - - - - - - - - +

Referenced by dmxSigioEnableInput(), and dmxSigioRegister().

+ + + +
+
+
void dmxSigioBlock void   ) 
+ + + + + + + +
void dmxSigioBlock (void  ) 
-
- - - - - -
-   - - -

-Block SIGIO handling.

-

- - - - -
- + +
+

Block SIGIO handling.

+ +

Referenced by dmxCoreMotion(), dmxExtMotion(), and dmxTranslateAndEnqueueExtEvent().

+ +
+ + +
+
+
- - - - - - + + + + + + +
void dmxSigioDisableInput void   ) void dmxSigioDisableInput (void  ) 
+ +
+

Disable SIGIO handling. This removes the hanlder from the OS.

+ +

References dmxInputEnabled, dmxInputs, dmxNumInputs, and dmxSigioRemove().

+

Referenced by dmxWakeupHandler().

+ +
+ + +
+
+ + + + + + + + +
void dmxSigioEnableInput (void  ) 
-
- - - - - -
-   - - -

-Disable SIGIO handling. This removes the hanlder from the OS.

-

- - - - -
- + +
+

Enable SIGIO handling. This instantiates the handler with the OS.

+ +

References dmxInputEnabled, dmxInputs, dmxNumInputs, and dmxSigioAdd().

+ +

Referenced by dmxSwitchReturn().

+ +
+ + +
+
+
- - - - - - + + + + + + +
void dmxSigioEnableInput void   ) static void dmxSigioHandler (int  sig )  [static]
+ + + + +
+
+ + + + + + + + +
static void dmxSigioHook (void  )  [static]
-
- - - - - -
-   - - -

-Enable SIGIO handling. This instantiates the handler with the OS.

-

- - - - -
- + +
+ +

References dmxSigioHandler().

+ +

Referenced by dmxSigioAdd().

+ +
+ + +
+
+
- - - - + + + + + - - - + + - - + + +
void dmxSigioRegister DMXInputInfo dmxInput, void dmxSigioRegister (DMXInputInfo dmxInput,
int  fdint  fd 
)
+ +
+

Make a note that the input device described in dmxInput will be using the file descriptor fd for SIGIO signals. Calls AddEnabledDevice ifi SIGIO handling has been enabled with dmxSigioEnableInput().

+

References DMX_MAX_SIGIO_FDS, DMX_USESIGIO, dmxFatal, dmxInputEnabled, dmxLog(), dmxSigioAdd(), _DMXInputInfo::sigioFd, _DMXInputInfo::sigioFdCount, and _DMXInputInfo::sigioState.

+ +

Referenced by dmxDeviceOnOff().

+ +
+ + +
+
+ + + + + + + + +
static void dmxSigioRemove (DMXInputInfo dmxInput )  [static]
-
- - - - - -
-   - - -

-Make a note that the input device described in dmxInput will be using the file descriptor fd for SIGIO signals. Calls AddEnabledDevice ifi SIGIO handling has been enabled with dmxSigioEnableInput().

-

- - - - -
- + + + + +
+
+
+ + + + + + + + +
void dmxSigioUnblock (void  ) 
+ +
+

Unblock SIGIO handling.

+ +

Referenced by dmxCoreMotion(), dmxExtMotion(), and dmxTranslateAndEnqueueExtEvent().

+ +
+ + +
+
+ - - - - - - + + + + + + +
void dmxSigioUnblock void   ) static void dmxSigioUnhook (void  )  [static]
+
+
+ +

Referenced by dmxSigioRemove().

+
+
+ +
+
+ + + + + + + + +
void dmxSigioUnregister (DMXInputInfo dmxInput ) 
-
- - - - - -
-   - - -

-Unblock SIGIO handling.

-

- - - - -
- + +
+

Remove the notes that dmxInput is using any file descriptors for SIGIO signals. Calls RemoveEnabledDevice.

+ +

References DMX_NOSIGIO, dmxSigioRemove(), _DMXInputInfo::sigioFdCount, and _DMXInputInfo::sigioState.

+ +

Referenced by dmxDeviceOnOff().

+ +
+ +

Variable Documentation

+ +
+
+
- - - - - - + +
void dmxSigioUnregister DMXInputInfo dmxInput  ) int dmxFdCount = 0 [static]
+ +
+ +

Referenced by dmxSigioAdd(), and dmxSigioRemove().

+
+ + +
+
+ + + +
Bool dmxInputEnabled = TRUE [static]
-
- - - - - -
-   - - -

-Remove the notes that dmxInput is using any file descriptors for SIGIO signals. Calls RemoveEnabledDevice.

+

+ +
+
-- cgit v1.2.3