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/dmxlog_8c.html | 932 +++++++++++++++-------------- 1 file changed, 481 insertions(+), 451 deletions(-) (limited to 'xorg-server/hw/dmx/doc/html/dmxlog_8c.html') diff --git a/xorg-server/hw/dmx/doc/html/dmxlog_8c.html b/xorg-server/hw/dmx/doc/html/dmxlog_8c.html index c32a4f9c9..b9c072bfb 100644 --- a/xorg-server/hw/dmx/doc/html/dmxlog_8c.html +++ b/xorg-server/hw/dmx/doc/html/dmxlog_8c.html @@ -6,588 +6,618 @@ - -
Main Page | Alphabetical List | Data Structures | File List | Data Fields | Globals
-

dmxlog.c File Reference

#include "dmx.h"
-#include "dmxlog.h"
-#include "dmxinput.h"
-#include "XI.h"
-#include "XIproto.h"
- - - - - - - - - - - - - - + + +
+

dmxlog.c File Reference

#include "dmx.h"
+#include "dmxlog.h"
+#include "dmxinput.h"
+#include <X11/extensions/XI.h>
+#include <X11/extensions/XIproto.h>
+

Functions

dmxLogLevel dmxSetLogLevel (dmxLogLevel newLevel)
dmxLogLevel dmxGetLogLevel (void)
void AbortServer (void)
void dmxLog (dmxLogLevel logLevel, const char *format,...)
void dmxLogCont (dmxLogLevel logLevel, const char *format,...)
void dmxLogOutput (DMXScreenInfo *dmxScreen, const char *format,...)
+ + + + + + + + + + + + + + + + + + + + +

Functions

dmxLogLevel dmxSetLogLevel (dmxLogLevel newLevel)
dmxLogLevel dmxGetLogLevel (void)
void AbortServer (void)
static void VFatalError (const char *format, va_list args)
static void dmxHeader (dmxLogLevel logLevel, DMXInputInfo *dmxInput, DMXScreenInfo *dmxScreen)
static void dmxMessage (dmxLogLevel logLevel, const char *format, va_list args)
void dmxLog (dmxLogLevel logLevel, const char *format,...)
void dmxLogCont (dmxLogLevel logLevel, const char *format,...)
void dmxLogOutput (DMXScreenInfo *dmxScreen, const char *format,...)
void dmxLogOutputCont (DMXScreenInfo *dmxScreen, const char *format,...)
void dmxLogOutputWarning (DMXScreenInfo *dmxScreen, const char *format,...)
void dmxLogInput (DMXInputInfo *dmxInput, const char *format,...)
void dmxLogInputCont (DMXInputInfo *dmxInput, const char *format,...)
void dmxLogArgs (dmxLogLevel logLevel, int argc, char **argv)
void dmxLogVisual (DMXScreenInfo *dmxScreen, XVisualInfo *vi, int defaultVisual)
const char * dmxXInputEventName (int type)
const char * dmxEventName (int type)

Variables

static dmxLogLevel dmxCurrentLogLevel = dmxDebug
+

Detailed Description

+

This file encapsulated all of the logging functions that are used by DMX for informational, warning, and error messages.

+

Function Documentation

+ +
+
+ + + + + + + + + +
void AbortServer (void  ) 
+
+
+

This function was removed between XFree86 4.3.0 and XFree86 4.4.0.

-void dmxLogOutputCont (DMXScreenInfo *dmxScreen, const char *format,...) +

Referenced by VFatalError().

-void dmxLogOutputWarning (DMXScreenInfo *dmxScreen, const char *format,...) +
+
+ +
+
+ + + + + + + + + +
const char* dmxEventName (int  type ) 
+
+
+

Translate an event type into a human-readable string.

-void dmxLogInput (DMXInputInfo *dmxInput, const char *format,...) +

Referenced by dmxConsoleUpdateFineCursor(), dmxDump(), and dmxEnqueue().

-void dmxLogInputCont (DMXInputInfo *dmxInput, const char *format,...) +
+
+ +
+
+ + + + + + + + + +
dmxLogLevel dmxGetLogLevel (void  ) 
+
+
+

Returns the log level set by dmxLogLevel.

-void dmxLogArgs (dmxLogLevel logLevel, int argc, char **argv) +

References dmxCurrentLogLevel.

-void dmxLogVisual (DMXScreenInfo *dmxScreen, XVisualInfo *vi, int defaultVisual) +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
static void dmxHeader (dmxLogLevel  logLevel,
DMXInputInfo dmxInput,
DMXScreenInfo dmxScreen 
) [static]
+
+
-const char * dmxXInputEventName (int type) +

References dmxDebug, dmxError, dmxFatal, dmxInfo, dmxWarning, _DMXScreenInfo::index, _DMXInputInfo::inputIdx, _DMXScreenInfo::name, and _DMXInputInfo::name.

-const char * dmxEventName (int type) +

Referenced by dmxLog(), dmxLogInput(), dmxLogOutput(), and dmxLogOutputWarning().

- -

Detailed Description

-This file encapsulated all of the logging functions that are used by DMX for informational, warning, and error messages.

Function Documentation

-

- - - - -
- - - - - - - - + + + +
+
+
void AbortServer void   ) 
+ + + + + - -
void dmxLog (dmxLogLevel  logLevel,
-
- - - - - -
-   - - -

-This function was removed between XFree86 4.3.0 and XFree86 4.4.0.

-

- - - - -
- - - - - - - + + + + - -
const char* dmxEventName int  type  ) const char *  format,
-
- - - - - -
-   - - -

-Translate an event type into a human-readable string.

-

- - - - -
- - - - - - - + + + + + + + + + -
dmxLogLevel dmxGetLogLevel void   )   ... 
)
-
- - - - - -
-   - - -

-Returns the log level set by dmxLogLevel.

-

- - - - -
- + +
+

Log the specified message at the specified logLevel. format can be a printf-like format expression.

+ +

References dmxHeader(), and dmxMessage().

+ +

Referenced by ddxProcessArgument(), dmxAddDevice(), dmxAttachScreen(), dmxBackendCollectEvents(), dmxBackendInitPrivate(), dmxBECreateColormap(), dmxBECreateCursor(), dmxBELoadFont(), dmxBERestorePixmap(), dmxBERestoreRenderGlyph(), dmxBESavePixmap(), dmxCheckFunctionKeys(), dmxCheckSpecialKeys(), dmxCommonOthOn(), dmxCommonRestoreState(), dmxComputeWidthHeight(), dmxConfigAddDisplay(), dmxConfigAddInput(), dmxConfigConfigure(), dmxConfigCopyData(), dmxConfigCopyFromWall(), dmxConfigFromCommandLine(), dmxConfigFromConfigFile(), dmxConfigReadFile(), dmxConfigStoreConfig(), dmxConfigStoreDisplay(), dmxConfigStoreFile(), dmxConfigStoreInput(), dmxConfigStoreXInput(), dmxConfigWriteFile(), dmxConnectionBlockCallback(), dmxConsoleCreateEmptyCursor(), dmxConsoleDrawWindows(), dmxConsoleFunctions(), dmxConsoleInit(), dmxConsoleUpdateFineCursor(), dmxDetachScreen(), dmxDeviceOnOff(), dmxDisplayInit(), dmxErrorHandler(), dmxFixup(), dmxGetButtonMapping(), dmxGetFontPath(), dmxInitOrigins(), dmxInitOverlap(), dmxInputCopyLocal(), dmxInputInit(), dmxInputLogDevices(), dmxInputScanForExtensions(), dmxLogArgs(), dmxLogVisual(), dmxMapInsert(), dmxOnScreen(), dmxPopulateLocal(), dmxPropertyCheckOtherWindows(), dmxPropertyIterate(), dmxPropertySameDisplay(), dmxPropertyWindow(), dmxReInitOrigins(), dmxSigioRegister(), dmxStatCallback(), dmxSwitchReturn(), dmxSync(), dmxSyncInit(), dmxTranslateAndEnqueueExtEvent(), dmxTryComputeScreenOrigins(), dmxUpdateWindowInformation(), dmxWakeupHandler(), InitInput(), InitOutput(), and othUSBGetInfo().

+ +
+ + +
+
+
- - - - + + + + + - - - + + + - - - + + - - + + -
void dmxLog dmxLogLevel  logLevel, void dmxLogArgs (dmxLogLevel  logLevel,
const char *  format, int  argc,
... char **  argv 
)
-
- - - - - -
-   - - -

-Log the specified message at the specified logLevel. format can be a printf-like format expression.

-

- - - - -
- + +
+

Print argc messages, each describing an element in argv. This is maingly for debugging purposes.

+ +

References dmxLog().

+ +
+ + +
+
+
- - - - + + + + + - - - + + + - - - + + - - + + -
void dmxLogArgs dmxLogLevel  logLevel, void dmxLogCont (dmxLogLevel  logLevel,
int  argc, const char *  format,
char **  argv  ... 
)
-
- - - - - -
-   - - -

-Print argc messages, each describing an element in argv. This is maingly for debugging purposes.

-

- - - - -
- + +
+

Continue a log message without printing the message prefix.

+ +

References dmxMessage().

+ +

Referenced by dmxInputLogDevices(), and dmxStatCallback().

+ +
+ + +
+
+
- - - - + + + + + - - - + + + - - - + + - - + + -
void dmxLogCont dmxLogLevel  logLevel, void dmxLogInput (DMXInputInfo dmxInput,
const char *  format, const char *  format,
...   ... 
)
-
- - - - - -
-   - - -

-Continue a log message without printing the message prefix.

-

- - - - -
- + +
+

Log an informational message (at level dmxInfo) related to input. The message prefix will contain information from dmxInput.

+ +

References dmxHeader(), dmxInfo, and dmxMessage().

+ +

Referenced by dmxAddDevice(), dmxCommonKbdGetInfo(), dmxCommonRestoreState(), dmxCommonSaveState(), dmxEnqueue(), dmxInputAttachBackend(), dmxInputAttachConsole(), dmxInputAttachOld(), dmxInputDetach(), dmxInputInit(), dmxInputScanForExtensions(), and dmxKeyboardOn().

+ +
+ + +
+
+
- - - - + + + + + - - - + + + - - - + + - - + + -
void dmxLogInput DMXInputInfo dmxInput, void dmxLogInputCont (DMXInputInfo dmxInput,
const char *  format, const char *  format,
...   ... 
)
-
- - - - - -
-   - - -

-Log an informational message (at level dmxInfo) related to input. The message prefix will contain information from dmxInput.

-

- - - - -
- + +
+

Continue a message related to input without printing the message prefix.

+ +

References dmxInfo, and dmxMessage().

+ +

Referenced by dmxKeyboardOn().

+ +
+ + +
+
+
- - - - + + + + + - - - + + + - - - + + - - + + -
void dmxLogInputCont DMXInputInfo dmxInput, void dmxLogOutput (DMXScreenInfo dmxScreen,
const char *  format, const char *  format,
...   ... 
)
-
- - - - - -
-   - - -

-Continue a message related to input without printing the message prefix.

-

- - - - -
- + +
+

Log an informational message (at level dmxInfo) related to ouput. The message prefix will contain backend information from dmxScreen.

+ +

References dmxHeader(), dmxInfo, and dmxMessage().

+ +

Referenced by _dmxDPMSInit(), dmxAttachScreen(), dmxDetachScreen(), dmxGetScreenAttribs(), dmxInitOrigins(), dmxInitOverlap(), dmxLogVisual(), dmxPrintScreenInfo(), dmxPropertyCheckOtherServers(), and dmxReInitOrigins().

+ +
+ + +
+
+
- - - - + + + + + - - - + + + - - - + + - - + + -
void dmxLogOutput DMXScreenInfo dmxScreen, void dmxLogOutputCont (DMXScreenInfo dmxScreen,
const char *  format, const char *  format,
...   ... 
)
-
- - - - - -
-   - - -

-Log an informational message (at level dmxInfo) related to ouput. The message prefix will contain backend information from dmxScreen.

-

- - - - -
- + +
+

Continue a message related to output without printing the message prefix.

+ +

References dmxInfo, and dmxMessage().

+ +

Referenced by dmxInitOverlap(), dmxPrintOverlap(), and dmxPrintScreenInfo().

+ +
+ + +
+
+
- - - - + + + + + - - - + + + - - - + + - - + + -
void dmxLogOutputCont DMXScreenInfo dmxScreen, void dmxLogOutputWarning (DMXScreenInfo dmxScreen,
const char *  format, const char *  format,
...   ... 
)
-
- - - - - -
-   - - -

-Continue a message related to output without printing the message prefix.

-

- - - - -
- + +
+

Log a warning message (at level dmxWarning) related to output. The message prefix will contain backend information from dmxScreen.

+ +

References dmxHeader(), dmxMessage(), and dmxWarning.

+ +

Referenced by dmxGetScreenAttribs(), dmxPrintScreenInfo(), and dmxPropertyCheckOtherServers().

+ +
+ + +
+
+
- - - - + + + + + - - - + + + - - - + + - - + + -
void dmxLogOutputWarning DMXScreenInfo dmxScreen, void dmxLogVisual (DMXScreenInfo dmxScreen,
const char *  format, XVisualInfo *  vi,
... int  defaultVisual 
)
-
- - - - - -
-   - - -

-Log a warning message (at level dmxWarning) related to output. The message prefix will contain backend information from dmxScreen.

-

- - - - -
- + +
+

Print messages at level dmxInfo describing the visuals in vi.

+ +

References dmxInfo, dmxLog(), and dmxLogOutput().

+ +

Referenced by dmxConnectionBlockCallback(), and dmxGetVisualInfo().

+ +
+ + +
+
+
- - - - + + + + + - - - + + + - - - + + - - + + -
void dmxLogVisual DMXScreenInfo dmxScreen, static void dmxMessage (dmxLogLevel  logLevel,
XVisualInfo *  vi, const char *  format,
int  defaultVisualva_list  args 
) [static]
-
- - - - - -
-   - - -

-Print messages at level dmxInfo describing the visuals in vi.

-

- - - - -
- + + + + +
+
+
- - - - - - + + + + + + +
dmxLogLevel dmxSetLogLevel dmxLogLevel  newLevel  ) dmxLogLevel dmxSetLogLevel (dmxLogLevel  newLevel ) 
+ +
+

Set the default level for logging to dmxLogLevel. Returns the previous log level.

+

References dmxCurrentLogLevel, and dmxFatal.

+ +
+ + +
+
+ + + + + + + + +
const char* dmxXInputEventName (int  type ) 
-
- - - - - -
-   - - -

-Set the default level for logging to dmxLogLevel. Returns the previous log level.

-

- - - - -
- + +
+

Translate a (normalized) XInput event type into a human-readable string.

+ +
+ + +
+
+
+ + + + + + - - - - - - + + + + + + + + + +
static void VFatalError (const char *  format,
const char* dmxXInputEventName int  type  ) va_list  args 
) [static]
+ +
+ +

References AbortServer(), and OsVendorFatalError().

+ +

Referenced by dmxMessage().

+
+ +

Variable Documentation

+ +
+
+ + + +
dmxLogLevel dmxCurrentLogLevel = dmxDebug [static]
-
- - - - - -
-   - - -

-Translate a (normalized) XInput event type into a human-readable string.

+

+
+ +

Referenced by dmxGetLogLevel(), dmxMessage(), and dmxSetLogLevel().

+ +
+
+
-- cgit v1.2.3