Data Structures | |
struct | BareConfig |
Functions | |
PyObject * | _bareConfigObject (BareConfig *c) |
BareConfig * | bareConfigCreate (Message *m, FILE *outFd, FILE *inFd, FILE *errFd) |
void | bareConfigFree (BareConfig *cfg) |
const char * | bareConfigGetDefaultValue (BareConfig *cfg, const char *opt) |
const char * | bareConfigGetOptionValue (BareConfig *cfg, const char *opt) |
int | bareConfigSetOptionValue (BareConfig *cfg, const char *opt, const char *val) |
PyObject* _bareConfigObject | ( | BareConfig * | c | ) |
BareConfig* bareConfigCreate | ( | Message * | m, | |
FILE * | outFd, | |||
FILE * | inFd, | |||
FILE * | errFd | |||
) |
Creates a bare config object with default values.
outFd | where information must be written to | |
inFd | where information must be read from | |
errFd | where errors must be written to |
void bareConfigFree | ( | BareConfig * | cfg | ) |
Frees a BareConfig object.
const char* bareConfigGetDefaultValue | ( | BareConfig * | cfg, | |
const char * | opt | |||
) |
Get an option's default value.
opt | the name of the option |
const char* bareConfigGetOptionValue | ( | BareConfig * | cfg, | |
const char * | opt | |||
) |
int bareConfigSetOptionValue | ( | BareConfig * | cfg, | |
const char * | opt, | |||
const char * | val | |||
) |