#include "lcmaps_config.h"
#include <syslog.h>
#include <errno.h>
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include "lcmaps_setup.h"
#include "_lcmaps_utils.h"
#include "_lcmaps_log.h"
Go to the source code of this file.
Functions | |
int | lcmaps_setup (const char *config_file) |
Setup of the LCMAPS environment. |
Definition in file lcmaps_setup.c.
|
Setup of the LCMAPS environment. This function sets the following environment variables:
Definition at line 167 of file lcmaps_setup.c. References DO_SYSLOG, DO_USRLOG, lcmaps_genfilename(), LCMAPS_MAXARGS, LCMAPS_SETUP_ERROR_ARGUMENT, LCMAPS_SETUP_ERROR_CLOSE, LCMAPS_SETUP_ERROR_OPEN, LCMAPS_SETUP_ERROR_PARSE, LCMAPS_SETUP_ERROR_READ, LCMAPS_SETUP_ERROR_READ_SIZE, and lcmaps_tokenize(). |