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

libconfig.h File Reference

Processes the XML configuration file for the Linux client and the Linux server. More...

#include <stdio.h>
#include <libxml2/libxml/xmlreader.h>

Go to the source code of this file.

Functions

int WFU_parse_config (const char *filename)
 The WFU_parse_config() will parse the specified configuration file.
char * WFU_get_config_path ()
 WFU_get_config_path will return the path to the configuration file.


Detailed Description

Processes the XML configuration file for the Linux client and the Linux server.

This file contains the function that parse the XML configuration file. Upon successful completion of WFU_parse_config(), the various WFU_get* functions will return the corresponding value specified in the configuration file. The error WFU_ERR_UNINIT_VALUE will be set in the event that a WFU_get* function references an uninitialized parameter.


Function Documentation

char* WFU_get_config_path  ) 
 

WFU_get_config_path will return the path to the configuration file.

Return values:
Pointer Upon successful completion, a pointer to the configuration file will be returned.
NULL A NULL value will be returned if the configuration is non-existent or unreadable.

int WFU_parse_config const char *  filename  ) 
 

The WFU_parse_config() will parse the specified configuration file.

Parameters:
filename The full path of the XML configuration file.
Return values:
0 indicates success
1 indicates failure


Generated on Wed Oct 10 12:38:21 2007 for WFUCrypt by  doxygen 1.3.9.1