Main Page | Data Structures | File List | Data Fields | Globals

loadconfig.c File Reference

Load/parse the server runtime configuration file. More...

#include "isisserver.h"

Defines

#define CFG_BUFSIZE   80
 Max size of lines in the runtime config file.

Functions

int loadConfig (char *cfgFile)
 Load/parse the server runtime configuration file.


Detailed Description

Load/parse the server runtime configuration file.

... info about server runtime config files...


Define Documentation

#define CFG_BUFSIZE   80
 

Max size of lines in the runtime config file.


Function Documentation

int loadConfig char *  cfgFile  ) 
 

Load/parse the server runtime configuration file.

Parameters:
cfgFile path/name of the server runtime configuration file.
Returns:
0 if successful, <0 on failure
Reads and parses the contents of the server's runtime configuration file, loading the parameters into the relevant internal variables.

The parameters in the runtime config file take the form of keyword/value pairs. Comments are denoted by a # and skipped by the parser. Blank lines are also ignored.

Unrecognized configuration parameters are ignored except to print a warning message for debugging purposes.


Generated on Tue Apr 16 17:04:08 2013 for ISIS Server by  doxygen 1.3.9.1