d20 1
a20 1
File List
a24 13
d33 1
a33 1
dmxparse.h File Reference
d36 2
a37 2
#include <stdio.h>
d42 14
a55 14
| struct | _DMXConfigToken |
| struct | _DMXConfigString |
| struct | _DMXConfigNumber |
| struct | _DMXConfigPair |
| struct | _DMXConfigComment |
| struct | _DMXConfigPartDim |
| struct | _DMXConfigFullDim |
| struct | _DMXConfigDisplay |
| struct | _DMXConfigWall |
| struct | _DMXConfigOption |
| struct | _DMXConfigParam |
| struct | _DMXConfigSub |
| struct | _DMXConfigVirtual |
| struct | _DMXConfigEntry |
d58 28
a85 28
| typedef struct _DMXConfigToken | DMXConfigToken |
| typedef struct _DMXConfigToken * | DMXConfigTokenPtr |
| typedef struct _DMXConfigString | DMXConfigString |
| typedef struct _DMXConfigString * | DMXConfigStringPtr |
| typedef struct _DMXConfigNumber | DMXConfigNumber |
| typedef struct _DMXConfigNumber * | DMXConfigNumberPtr |
| typedef struct _DMXConfigPair | DMXConfigPair |
| typedef struct _DMXConfigPair * | DMXConfigPairPtr |
| typedef struct _DMXConfigComment | DMXConfigComment |
| typedef struct _DMXConfigComment * | DMXConfigCommentPtr |
| typedef struct _DMXConfigPartDim | DMXConfigPartDim |
| typedef struct _DMXConfigPartDim * | DMXConfigPartDimPtr |
| typedef struct _DMXConfigFullDim | DMXConfigFullDim |
| typedef struct _DMXConfigFullDim * | DMXConfigFullDimPtr |
| typedef struct _DMXConfigDisplay | DMXConfigDisplay |
| typedef struct _DMXConfigDisplay * | DMXConfigDisplayPtr |
| typedef struct _DMXConfigWall | DMXConfigWall |
| typedef struct _DMXConfigWall * | DMXConfigWallPtr |
| typedef struct _DMXConfigOption | DMXConfigOption |
| typedef struct _DMXConfigOption * | DMXConfigOptionPtr |
| typedef struct _DMXConfigParam | DMXConfigParam |
| typedef struct _DMXConfigParam * | DMXConfigParamPtr |
| typedef struct _DMXConfigSub | DMXConfigSub |
| typedef struct _DMXConfigSub * | DMXConfigSubPtr |
| typedef struct _DMXConfigVirtual | DMXConfigVirtual |
| typedef struct _DMXConfigVirtual * | DMXConfigVirtualPtr |
| typedef struct _DMXConfigEntry | DMXConfigEntry |
| typedef struct _DMXConfigEntry * | DMXConfigEntryPtr |
d88 2
a89 2
| enum | DMXConfigType {
dmxConfigComment,
d94 1
a94 1
dmxConfigOption,
d100 45
a144 45
|
| int | yylex (void) |
| void | yyerror (const char *message) |
| void | dmxConfigLog (const char *format,...) |
| void * | dmxConfigAlloc (unsigned long bytes) |
| void * | dmxConfigRealloc (void *orig, unsigned long orig_bytes, unsigned long bytes) |
| const char * | dmxConfigCopyString (const char *string, int length) |
| void | dmxConfigFree (void *area) |
| DMXConfigTokenPtr | dmxConfigCreateToken (int token, int line, const char *comment) |
| void | dmxConfigFreeToken (DMXConfigTokenPtr p) |
| DMXConfigStringPtr | dmxConfigCreateString (int token, int line, const char *comment, const char *string) |
| void | dmxConfigFreeString (DMXConfigStringPtr p) |
| DMXConfigNumberPtr | dmxConfigCreateNumber (int token, int line, const char *comment, int number) |
| void | dmxConfigFreeNumber (DMXConfigNumberPtr p) |
| DMXConfigPairPtr | dmxConfigCreatePair (int token, int line, const char *comment, int x, int y, int xsign, int ysign) |
| void | dmxConfigFreePair (DMXConfigPairPtr p) |
| DMXConfigCommentPtr | dmxConfigCreateComment (int token, int line, const char *comment) |
| void | dmxConfigFreeComment (DMXConfigCommentPtr p) |
| DMXConfigPartDimPtr | dmxConfigCreatePartDim (DMXConfigPairPtr pDim, DMXConfigPairPtr pOffset) |
| void | dmxConfigFreePartDim (DMXConfigPartDimPtr p) |
| DMXConfigFullDimPtr | dmxConfigCreateFullDim (DMXConfigPartDimPtr pScrn, DMXConfigPartDimPtr pRoot) |
| void | dmxConfigFreeFullDim (DMXConfigFullDimPtr p) |
| DMXConfigDisplayPtr | dmxConfigCreateDisplay (DMXConfigTokenPtr pStart, DMXConfigStringPtr pName, DMXConfigFullDimPtr pDim, DMXConfigPairPtr pOrigin, DMXConfigTokenPtr pEnd) |
| void | dmxConfigFreeDisplay (DMXConfigDisplayPtr p) |
| DMXConfigWallPtr | dmxConfigCreateWall (DMXConfigTokenPtr pStart, DMXConfigPairPtr pWallDim, DMXConfigPairPtr pDisplayDim, DMXConfigStringPtr pNameList, DMXConfigTokenPtr pEnd) |
| void | dmxConfigFreeWall (DMXConfigWallPtr p) |
| DMXConfigOptionPtr | dmxConfigCreateOption (DMXConfigTokenPtr pStart, DMXConfigStringPtr pOption, DMXConfigTokenPtr pEnd) |
| void | dmxConfigFreeOption (DMXConfigOptionPtr p) |
| DMXConfigParamPtr | dmxConfigCreateParam (DMXConfigTokenPtr pStart, DMXConfigTokenPtr pOpen, DMXConfigStringPtr pParam, DMXConfigTokenPtr pClose, DMXConfigTokenPtr pEnd) |
| void | dmxConfigFreeParam (DMXConfigParamPtr p) |
| const char ** | dmxConfigLookupParam (DMXConfigParamPtr p, const char *key, int *argc) |
| DMXConfigSubPtr | dmxConfigCreateSub (DMXConfigType type, DMXConfigCommentPtr comment, DMXConfigDisplayPtr display, DMXConfigWallPtr wall, DMXConfigOptionPtr option, DMXConfigParamPtr param) |
| void | dmxConfigFreeSub (DMXConfigSubPtr sub) |
| DMXConfigSubPtr | dmxConfigSubComment (DMXConfigCommentPtr comment) |
| DMXConfigSubPtr | dmxConfigSubDisplay (DMXConfigDisplayPtr display) |
| DMXConfigSubPtr | dmxConfigSubWall (DMXConfigWallPtr wall) |
| DMXConfigSubPtr | dmxConfigSubOption (DMXConfigOptionPtr option) |
| DMXConfigSubPtr | dmxConfigSubParam (DMXConfigParamPtr param) |
| DMXConfigSubPtr | dmxConfigAddSub (DMXConfigSubPtr head, DMXConfigSubPtr sub) |
| DMXConfigVirtualPtr | dmxConfigCreateVirtual (DMXConfigTokenPtr pStart, DMXConfigStringPtr pName, DMXConfigPairPtr pDim, DMXConfigTokenPtr pOpen, DMXConfigSubPtr pSubentry, DMXConfigTokenPtr pClose) |
| void | dmxConfigFreeVirtual (DMXConfigVirtualPtr virtual) |
| DMXConfigEntryPtr | dmxConfigCreateEntry (DMXConfigType type, DMXConfigCommentPtr comment, DMXConfigVirtualPtr virtual) |
| void | dmxConfigFreeEntry (DMXConfigEntryPtr entry) |
| DMXConfigEntryPtr | dmxConfigAddEntry (DMXConfigEntryPtr head, DMXConfigType type, DMXConfigCommentPtr comment, DMXConfigVirtualPtr virtual) |
| DMXConfigEntryPtr | dmxConfigEntryComment (DMXConfigCommentPtr comment) |
| DMXConfigEntryPtr | dmxConfigEntryVirtual (DMXConfigVirtualPtr virtual) |
d147 2
a148 2
| DMXConfigEntryPtr | dmxConfigEntry |
| int | yydebug |
d150 2
a151 2
Detailed Description
Interface to DMX configuration file parser.
d153 1
a153 1
Typedef Documentation
d570 2
a571 2
DMXConfigEntryPtr |
head, |
d576 2
a577 2
DMXConfigType |
type, |
d582 2
a583 2
DMXConfigCommentPtr |
comment, |
d588 2
a589 2
DMXConfigVirtualPtr |
virtual |
d594 1
a594 1
| |
d613 2
a614 2
DMXConfigSubPtr |
head, |
d619 2
a620 2
DMXConfigSubPtr |
sub |
d625 1
a625 1
| |
d644 3
a646 2
unsigned long |
bytes | ) |
d666 2
a667 2
const char * |
string, |
d672 2
a673 2
int |
length |
d678 1
a678 1
| |
d697 2
a698 2
int |
token, |
d703 2
a704 2
int |
line, |
d709 2
a710 2
const char * |
comment |
d715 1
a715 1
| |
d734 2
a735 2
DMXConfigTokenPtr |
pStart, |
d740 2
a741 2
DMXConfigStringPtr |
pName, |
d746 2
a747 2
DMXConfigFullDimPtr |
pDim, |
d752 2
a753 2
DMXConfigPairPtr |
pOrigin, |
d758 2
a759 2
DMXConfigTokenPtr |
pEnd |
d764 1
a764 1
| |
d783 2
a784 2
DMXConfigType |
type, |
d789 2
a790 2
DMXConfigCommentPtr |
comment, |
d795 2
a796 2
DMXConfigVirtualPtr |
virtual |
d801 1
a801 1
| |
d820 2
a821 2
DMXConfigPartDimPtr |
pScrn, |
d826 2
a827 2
DMXConfigPartDimPtr |
pRoot |
d832 1
a832 1
| |
d851 2
a852 2
int |
token, |
d857 2
a858 2
int |
line, |
d863 2
a864 2
const char * |
comment, |
d869 2
a870 2
int |
number |
d875 1
a875 1
| |
d892 2
a893 2
DMXConfigTokenPtr |
pStart, |
d898 2
a899 2
DMXConfigStringPtr |
pOption, |
d904 2
a905 2
DMXConfigTokenPtr |
pEnd |
d910 1
a910 1
| |
d927 2
a928 2
int |
token, |
d933 2
a934 2
int |
line, |
d939 2
a940 2
const char * |
comment, |
d945 2
a946 2
int |
x, |
d951 2
a952 2
int |
y, |
d957 2
a958 2
int |
xsign, |
d963 2
a964 2
int |
ysign |
d969 1
a969 1
| |
d988 2
a989 2
DMXConfigTokenPtr |
pStart, |
d994 2
a995 2
DMXConfigTokenPtr |
pOpen, |
d1000 2
a1001 2
DMXConfigStringPtr |
pParam, |
d1006 2
a1007 2
DMXConfigTokenPtr |
pClose, |
d1012 2
a1013 2
DMXConfigTokenPtr |
pEnd |
d1018 1
a1018 1
| |
d1035 2
a1036 2
DMXConfigPairPtr |
pDim, |
d1041 2
a1042 2
DMXConfigPairPtr |
pOffset |
d1047 1
a1047 1
| |
d1066 2
a1067 2
int |
token, |
d1072 2
a1073 2
int |
line, |
d1078 2
a1079 2
const char * |
comment, |
d1084 2
a1085 2
const char * |
string |
d1090 1
a1090 1
| |
d1109 2
a1110 2
DMXConfigType |
type, |
d1115 2
a1116 2
DMXConfigCommentPtr |
comment, |
d1121 2
a1122 2
DMXConfigDisplayPtr |
display, |
d1127 2
a1128 2
DMXConfigWallPtr |
wall, |
d1133 2
a1134 2
DMXConfigOptionPtr |
option, |
d1139 2
a1140 2
DMXConfigParamPtr |
param |
d1145 1
a1145 1
| |
d1164 2
a1165 2
int |
token, |
d1170 2
a1171 2
int |
line, |
d1176 2
a1177 2
const char * |
comment |
d1182 1
a1182 1
| |
d1199 2
a1200 2
DMXConfigTokenPtr |
pStart, |
d1205 2
a1206 2
DMXConfigStringPtr |
pName, |
d1211 2
a1212 2
DMXConfigPairPtr |
pDim, |
d1217 2
a1218 2
DMXConfigTokenPtr |
pOpen, |
d1223 2
a1224 2
DMXConfigSubPtr |
pSubentry, |
d1229 2
a1230 2
DMXConfigTokenPtr |
pClose |
d1235 1
a1235 1
| |
d1254 2
a1255 2
DMXConfigTokenPtr |
pStart, |
d1260 2
a1261 2
DMXConfigPairPtr |
pWallDim, |
d1266 2
a1267 2
DMXConfigPairPtr |
pDisplayDim, |
d1272 2
a1273 2
DMXConfigStringPtr |
pNameList, |
d1278 2
a1279 2
DMXConfigTokenPtr |
pEnd |
d1284 1
a1284 1
| |
d1301 3
a1303 2
DMXConfigCommentPtr |
comment | ) |
d1321 3
a1323 2
DMXConfigVirtualPtr |
virtual | ) |
d1341 3
a1343 2
void * |
area | ) |
d1361 3
a1363 2
DMXConfigCommentPtr |
p | ) |
d1383 3
a1385 2
DMXConfigDisplayPtr |
p | ) |
d1405 3
a1407 2
DMXConfigEntryPtr |
entry | ) |
d1427 3
a1429 2
DMXConfigFullDimPtr |
p | ) |
d1449 3
a1451 2
DMXConfigNumberPtr |
p | ) |
d1469 3
a1471 2
DMXConfigOptionPtr |
p | ) |
d1491 3
a1493 2
DMXConfigPairPtr |
p | ) |
d1513 3
a1515 2
DMXConfigParamPtr |
p | ) |
d1535 3
a1537 2
DMXConfigPartDimPtr |
p | ) |
d1557 3
a1559 2
DMXConfigStringPtr |
p | ) |
d1579 3
a1581 2
DMXConfigSubPtr |
sub | ) |
d1601 3
a1603 2
DMXConfigTokenPtr |
p | ) |
d1623 3
a1625 2
DMXConfigVirtualPtr |
virtual | ) |
d1645 3
a1647 2
DMXConfigWallPtr |
p | ) |
d1667 2
a1668 2
const char * |
format, |
d1673 2
a1674 2
|
... |
d1679 1
a1679 1
| |
d1697 2
a1698 2
DMXConfigParamPtr |
p, |
d1703 2
a1704 2
const char * |
key, |
d1709 2
a1710 2
int * |
argc |
d1715 1
a1715 1
| |
d1734 2
a1735 2
void * |
orig, |
d1740 2
a1741 2
unsigned long |
orig_bytes, |
d1746 2
a1747 2
unsigned long |
bytes |
d1752 1
a1752 1
| |
d1769 3
a1771 2
DMXConfigCommentPtr |
comment | ) |
d1789 3
a1791 2
DMXConfigDisplayPtr |
display | ) |
d1811 3
a1813 2
DMXConfigOptionPtr |
option | ) |
d1831 3
a1833 2
DMXConfigParamPtr |
param | ) |
d1851 3
a1853 2
DMXConfigWallPtr |
wall | ) |
d1871 3
a1873 2
const char * |
message | ) |
d1889 3
a1891 2
void |
| ) |
a1931 4