dmxarg.c File Reference
#include "dmx.h"
#include "dmxarg.h"
#include <stdio.h>
#include <string.h>
Detailed Description
Generic comma-delimited argument processing.
Function Documentation
void dmxArgAdd |
( |
dmxArg |
a, |
|
|
const char * |
string |
|
) |
|
|
|
Add the string as the next argument in the dmxArg object. |
|
Return the number of arguments in the dmxArg object. |
|
Create an (externally opaque) dmxArg object. |
|
Free the specified dmxArg object. |
dmxArg dmxArgParse |
( |
const char * |
string |
) |
|
|
|
Parse a string into arguments delimited by commas. Return a new dmxArg object containing the arguments. |
const char* dmxArgV |
( |
dmxArg |
a, |
|
|
int |
item |
|
) |
|
|
|
Return the argument number item in the dmxArg object. Arguments are 0 based. NULL will be returned for values less than 0 or equal to or greater than the number of arguments in the object. |
Generated June 29, 2004 for Distributed Multihead X by
doxygen
1.3.4.