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/dmxprint_8c.html | 744 ++++++++++++++++++++++++--- 1 file changed, 668 insertions(+), 76 deletions(-) (limited to 'xorg-server/hw/dmx/doc/html/dmxprint_8c.html') diff --git a/xorg-server/hw/dmx/doc/html/dmxprint_8c.html b/xorg-server/hw/dmx/doc/html/dmxprint_8c.html index 9a439cf6b..d52dacec5 100644 --- a/xorg-server/hw/dmx/doc/html/dmxprint_8c.html +++ b/xorg-server/hw/dmx/doc/html/dmxprint_8c.html @@ -6,105 +6,697 @@ - -
Main Page | Alphabetical List | Data Structures | File List | Data Fields | Globals
-

dmxprint.c File Reference

#include "dmxconfig.h"
-#include "dmxparse.h"
-#include "dmxprint.h"
-#include "parser.h"
-#include <stdio.h>
-#include <stdarg.h>
-#include <ctype.h>
- - - - - - - - - - + + +
+

dmxprint.c File Reference

#include "dmxconfig.h"
+#include "dmxparse.h"
+#include "dmxprint.h"
+#include "parser.h"
+#include <stdio.h>
+#include <stdarg.h>
+#include <ctype.h>
+

Data Structures

struct  stack

Functions

void dmxConfigPrint (FILE *stream, DMXConfigEntryPtr entry)
void dmxConfigVirtualPrint (FILE *stream, DMXConfigVirtualPtr p)
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Data Structures

struct  stack

Functions

static void dmxConfigIndent (void)
static void dmxConfigNewline (void)
static void dmxConfigPushState (int base, int comment, int step)
static void dmxConfigPushComment (void)
static void dmxConfigPushStep (void)
static void dmxConfigPopState (void)
static void dmxConfigOutput (int addSpace, int doNewline, const char *comment, const char *format,...)
static void dmxConfigPrintComment (DMXConfigCommentPtr p)
static void dmxConfigPrintTokenFlag (DMXConfigTokenPtr p, int flag)
static void dmxConfigPrintToken (DMXConfigTokenPtr p)
static void dmxConfigPrintTokenNopop (DMXConfigTokenPtr p)
static int dmxConfigPrintQuotedString (const char *s)
static void dmxConfigPrintString (DMXConfigStringPtr p, int quote)
static int dmxConfigPrintPair (DMXConfigPairPtr p, int addSpace)
static void dmxConfigPrintDisplay (DMXConfigDisplayPtr p)
static void dmxConfigPrintWall (DMXConfigWallPtr p)
static void dmxConfigPrintOption (DMXConfigOptionPtr p)
static void dmxConfigPrintParam (DMXConfigParamPtr p)
static void dmxConfigPrintSub (DMXConfigSubPtr p)
static void dmxConfigPrintVirtual (DMXConfigVirtualPtr p)
void dmxConfigPrint (FILE *stream, DMXConfigEntryPtr entry)
void dmxConfigVirtualPrint (FILE *stream, DMXConfigVirtualPtr p)

Variables

static FILE * str = NULL
static int indent = 0
static int pos = 0
static struct stack initialStack
-

Detailed Description

-This file provides support routines and helper functions to be used to pretty-print DMX configurations.

-Because the DMX configuration file parsing should be capable of being used in a stand-alone fashion (i.e., independent from the DMX server source tree), no dependencies on other DMX routines are made.


Function Documentation

-

- - - - -
- +

Detailed Description

+

This file provides support routines and helper functions to be used to pretty-print DMX configurations.

+

Because the DMX configuration file parsing should be capable of being used in a stand-alone fashion (i.e., independent from the DMX server source tree), no dependencies on other DMX routines are made.

+

Function Documentation

+ +
+
+
+ + + + + + + + +
static void dmxConfigIndent (void  )  [static]
+ +
+ +

References indent, and str.

+ +

Referenced by dmxConfigOutput().

+ +
+ + +
+
+ + + + + + + + + +
static void dmxConfigNewline (void  )  [static]
+
+ +
+ +
+
+ + + + + + + + + + + + + - - - - + + + + + + + + + + - - + + - - + + +
static void dmxConfigOutput (int  addSpace,
int  doNewline,
void dmxConfigPrint FILE *  stream, const char *  comment,
const char *  format,
DMXConfigEntryPtr  entry  ... 
) [static]
+
+ +
+ +
+
+ + + + + + + + +
static void dmxConfigPopState (void  )  [static]
-
- - - - - -
-   - - -

-The configuration information in entry will be pretty-printed to the stream. If stream is NULL, then stdout will be used.

-

- - - - -
- + + + + +
+
+
+ + + + + + + + + + + + + + + + + +
void dmxConfigPrint (FILE *  stream,
DMXConfigEntryPtr  entry 
)
+ +
+

The configuration information in entry will be pretty-printed to the stream. If stream is NULL, then stdout will be used.

+ +

References _DMXConfigEntry::comment, dmxConfigComment, dmxConfigLog(), dmxConfigNewline(), dmxConfigPrintComment(), dmxConfigPrintVirtual(), dmxConfigVirtual, _DMXConfigEntry::next, pos, str, _DMXConfigEntry::type, and _DMXConfigEntry::virtual.

+ +

Referenced by dmxConfigWriteFile(), and main().

+ +
+ + +
+
+ + + + + + + + + +
static void dmxConfigPrintComment (DMXConfigCommentPtr  p )  [static]
+
+ +
+ + + +
+
+ + + + + + + + + +
static void dmxConfigPrintOption (DMXConfigOptionPtr  p )  [static]
+
+ +
+ +
+
+ - - - - + + + + + + + + + - - + + + +
void dmxConfigVirtualPrint FILE *  stream, static int dmxConfigPrintPair (DMXConfigPairPtr  p,
int  addSpace 
DMXConfigVirtualPtr  p) [static]
+
+ +
+ + + +
+
+ + + + + + + + + +
static int dmxConfigPrintQuotedString (const char *  s )  [static]
+
+
+ +

Referenced by dmxConfigPrintString().

+ +
+
+ +
+
+ + + + + + + + + + + + - - + + +
static void dmxConfigPrintString (DMXConfigStringPtr  p,
int  quote 
) [static]
+
+ +
+ +
+
+ + + + + + + + +
static void dmxConfigPrintSub (DMXConfigSubPtr  p )  [static]
-
- - - - - -
-   - - -

-The configuration information in p will be pretty-printed to the stream. If stream is NULL, then stdout will be used.

+ +

+ +

References _DMXConfigSub::comment, _DMXConfigSub::display, dmxConfigComment, dmxConfigDisplay, dmxConfigLog(), dmxConfigOption, dmxConfigParam, dmxConfigPrintComment(), dmxConfigPrintDisplay(), dmxConfigPrintOption(), dmxConfigPrintParam(), dmxConfigPrintWall(), dmxConfigWall, _DMXConfigSub::next, _DMXConfigSub::option, _DMXConfigSub::param, _DMXConfigSub::type, and _DMXConfigSub::wall.

+ +

Referenced by dmxConfigPrintVirtual().

+ +
+ + +
+
+ + + + + + + + + +
static void dmxConfigPrintToken (DMXConfigTokenPtr  p )  [static]
+
+ +
+ +
+
+ + + + + + + + + + + + + + + + + + +
static void dmxConfigPrintTokenFlag (DMXConfigTokenPtr  p,
int  flag 
) [static]
+
+ +
+ +
+
+ + + + + + + + + +
static void dmxConfigPrintTokenNopop (DMXConfigTokenPtr  p )  [static]
+
+
+ +

References dmxConfigPrintTokenFlag().

+ +

Referenced by dmxConfigPrintParam().

+ +
+
+ +
+
+ + + + + + + + + +
static void dmxConfigPrintVirtual (DMXConfigVirtualPtr  p )  [static]
+
+ +
+ +
+
+ + + + + + + + + +
static void dmxConfigPrintWall (DMXConfigWallPtr  p )  [static]
+
+ +
+ +
+
+ + + + + + + + + +
static void dmxConfigPushComment (void  )  [static]
+
+
+ +

References indent.

+ +

Referenced by dmxConfigOutput().

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
static void dmxConfigPushState (int  base,
int  comment,
int  step 
) [static]
+
+
+ +

References dmxConfigAlloc(), dmxConfigNewline(), and indent.

+ +

Referenced by dmxConfigPrintTokenFlag().

+ +
+
+ +
+
+ + + + + + + + + +
static void dmxConfigPushStep (void  )  [static]
+
+
+ +

References indent.

+ +

Referenced by dmxConfigPrintTokenFlag().

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void dmxConfigVirtualPrint (FILE *  stream,
DMXConfigVirtualPtr  p 
)
+
+
+

The configuration information in p will be pretty-printed to the stream. If stream is NULL, then stdout will be used.

+ +

References dmxConfigNewline(), dmxConfigPrintVirtual(), pos, and str.

+ +

Referenced by dmxConfigReadFile(), and dmxConfigSelectCallback().

+ +
+
+

Variable Documentation

+ +
+
+ + + + +
int indent = 0 [static]
+
+ +
+ +
+
+ + + + +
struct stack initialStack [static]
+
+
+ +
+
+ +
+
+ + + + +
int pos = 0 [static]
+
+ +
+ +
+
+ + + + +
FILE* str = NULL [static]
+
+ +
+
-- cgit v1.2.3