|
Omega Security Services 0.7.3
|
#include <stdarg.h>#include <stdio.h>#include <stdlib.h>#include <stddef.h>#include <string.h>#include <unistd.h>#include <signal.h>#include <time.h>#include <errno.h>#include <grp.h>#include <limits.h>#include <netdb.h>#include <netinet/in.h>#include <arpa/inet.h>#include <sys/socket.h>#include <sys/stat.h>#include <sys/types.h>#include <sys/time.h>#include <fcntl.h>#include <dlfcn.h>#include <math.h>#include <pthread.h>Go to the source code of this file.
Data Structures | |
| struct | ConfEntry |
Defines | |
| #define | MAX_INCLUDE 10 |
Functions | |
| int | config_load (char *) |
| int | file_exists (char *) |
| int | config_parse (char *) |
| int | main (int ac, char **av) |
Variables | |
| int | include_cnt = 0 |
| char | include_stack [MAX_INCLUDE][255] |
| char * | current_file |
| #define MAX_INCLUDE 10 |
Open a config file and begine reading it
| file | (string) path to the file we are opening |
Definition at line 76 of file config_test.c.
Referenced by config_load().
| int config_load | ( | char * | file | ) |
Open a config file and begin reading it
| file | (string) path to the file we are opening |
Definition at line 93 of file config_test.c.
| int config_parse | ( | char * | buffer | ) |
Parse a config buffer
| (String) | Buffer we are to parse |
Do nothing
Definition at line 164 of file config_test.c.
| int file_exists | ( | char * | fileName | ) |
file_exists - Check weather or a file exists
| fileName | (string) path to file we are checking |
Definition at line 55 of file config_test.c.
| int main | ( | int | ac, |
| char ** | av | ||
| ) |
Definition at line 37 of file config_test.c.
References config_load().
| char* current_file |
Definition at line 81 of file config_test.c.
| int include_cnt = 0 |
Definition at line 79 of file config_test.c.
| char include_stack[MAX_INCLUDE][255] |
Definition at line 80 of file config_test.c.