#include <stdarg.h>
#include <string.h>
#include <malloc.h>
#include "libmacs.h"
#include "common.h"
Defines | |
| #define | DF GDOME_LOAD_PARSING | GDOME_LOAD_SUBSTITUTE_ENTITIES |
Functions | |
| GdomeNode * | _macs_cf_next (_macs_ctx *ctx, GdomeNode *node) |
| GdomeNode * | _macs_cf_descend (_macs_ctx *ctx, const char *key, GdomeNode *parent) |
| void * | macs_init (const char *cf, int connect) |
| Initializes the library. | |
| void | macs_exit (void *ctxp) |
| Deinitializes the library. | |
| const char * | macs_cf (void *ctxp) |
| Returns the loaded configuration file. | |
| char * | macs_get_config (const void *ctxp, const char *key,...) |
| Fetch a configuration value. | |
| char ** | macs_get_configs (const void *ctxp, int *nodes, const char *key,...) |
| Fetch several configuration values. | |
| char ** | macs_get_methods (const void *ctxp, int server) |
| Fetch a list of available methods. | |
|
|
The flags to parse the XML with. |
|
||||||||||||
|
Finds the next sibling node of the same name.
|
|
||||||||||||||||
|
Find a child node with the certain name, or "default"
|
1.2.16