Main Page | Modules | Data Structures | File List | Data Fields | Globals | Related Pages

config_file.c File Reference

This is the implementation of the Configuration-File Library. More...

#include "config_file.h"

Functions

key_value_pair_tconfig_file_read (char *filename, int *loaded_pairs)
 Reads the requested filename and returns the key-value pairs from within.

int config_file_write (char *filename, key_value_pair_t *pairs, int pairs_to_write)
 Writes the key-value pairs to filename.

char * config_file_get_value (key_value_pair_t *pairs, char *key, int pairs_loaded)
 Searches pairs for key and returns the value of that key.

void config_file_destroy (key_value_pair_t *pairs, int pairs_loaded)
 This function frees all of the memory that has been allocated with config_file_read().


Detailed Description

This is the implementation of the Configuration-File Library.

Author:
Daniel R. Warren
Version:
1.0
Date:
November 2004

Generated on Thu Dec 16 23:07:31 2004 for alsad by doxygen 1.3.6