Main Page | Modules | Namespace List | Class Hierarchy | Data Structures | Directories | File List | Namespace Members | Data Fields | Globals

traces_conf_util.h File Reference


Detailed Description

Configuration helper (include file) for traces.

#include <sys/types.h>

Go to the source code of this file.

Enumerations

enum  ALPConfType { CONF_RDONLY = ((unsigned char) 0x01), CONF_RDWR = ((unsigned char) 0x02), CONF_CREATE = ((unsigned char) 0x04) }

Functions

char * prv_conf_read_string (const char *section, const char *key, const char *def)
int prv_conf_read_int (const char *section, const char *key, int def)
int prv_conf_read_list (const char *section, const char *key, int *argcp, char ***argvp)
int prv_conf_get_sections (int *argcp, char ***argvp)
int prv_conf_get_keys (const char *section, int *argcp, char ***argvp)
int prv_conf_write_string (const char *section, const char *key, const char *value)
int prv_conf_write_int (const char *section, const char *key, int value)
int prv_conf_write_list (const char *section, const char *key, int argc, char **argv)
int prv_conf_delete_section (const char *section)
int prv_conf_delete_key (const char *section, const char *key)
int prv_conf_getfile (const char *path, const ALPConfType options)
void prv_conf_close (void)
int prv_conf_flush (void)


Enumeration Type Documentation

enum ALPConfType
 

Enumerator:
CONF_RDONLY 
CONF_RDWR 
CONF_CREATE 


Function Documentation

void prv_conf_close void   ) 
 

int prv_conf_delete_key const char *  section,
const char *  key
 

int prv_conf_delete_section const char *  section  ) 
 

int prv_conf_flush void   ) 
 

int prv_conf_get_keys const char *  section,
int *  argcp,
char ***  argvp
 

int prv_conf_get_sections int *  argcp,
char ***  argvp
 

int prv_conf_getfile const char *  path,
const ALPConfType  options
 

int prv_conf_read_int const char *  section,
const char *  key,
int  def
 

int prv_conf_read_list const char *  section,
const char *  key,
int *  argcp,
char ***  argvp
 

char* prv_conf_read_string const char *  section,
const char *  key,
const char *  def
 

int prv_conf_write_int const char *  section,
const char *  key,
int  value
 

int prv_conf_write_list const char *  section,
const char *  key,
int  argc,
char **  argv
 

int prv_conf_write_string const char *  section,
const char *  key,
const char *  value
 


Generated on Sat Dec 16 20:29:49 2006 for hiker-0.9 by  doxygen 1.4.4