ZOO-Project
|
#include <service.h>
Functions | |
void | crerror (const char *s) |
Print on stderr the message and the line number of the error which occurred. More... | |
void | usage (void) |
int | crlex (void) |
int | crlex_destroy (void) |
if (debug) | |
free (curr_key) | |
free (current_content) | |
snprintf (current_maps->name,(strlen($1)+1),"%s", $1) | |
int | conf_read (const char *file, maps *my_map) |
Parse the main.cfg file and fill the maps structure. More... | |
Variables | |
static maps * | current_maps =NULL |
static map * | current_content =NULL |
static char * | curr_key =zStrdup($1) |
static int | debug =0 |
int | crdebug |
char | crtext [] |
int | crlineno |
FILE * | crin |
union { | |
char * | s |
char * | chaine |
char * | key |
char * | val |
} | document |
miscetoile | __pad0__ |
contentetoile | __pad1__ |
pair | __pad2__ |
EPAIR | |
else | |
SPAIR {if(curr_key!=NULL) free(curr_key) | |
processid | __pad3__ |
current_maps | next =NULL |
current_maps | content =NULL |
int conf_read | ( | const char * | file, |
maps * | my_map | ||
) |
Parse the main.cfg file and fill the maps structure.
file | the filename to parse |
my_map | the maps structure to fill |
void crerror | ( | const char * | s | ) |
Print on stderr the message and the line number of the error which occurred.
s | the error message |
int crlex | ( | void | ) |
int crlex_destroy | ( | void | ) |
free | ( | curr_key | ) |
free | ( | current_content | ) |
if | ( | debug | ) |
snprintf | ( | current_maps-> | name, |
(strlen( $1)+1) | , | ||
"%s" | , | ||
$1 | |||
) |
void usage | ( | void | ) |
miscetoile __pad0__ |
contentetoile __pad1__ |
pair __pad2__ |
processid __pad3__ |
current_maps content =NULL |
int crdebug |
FILE* crin |
int crlineno |
char crtext[] |
|
static |
|
static |
|
static |
|
static |
union { ... } document |
else |
EPAIR |
current_maps next =NULL |