www.pudn.com > lucent_softphone.rar > config.h


/*
* $Id: config.h,v 1.11 1997/06/23 23:12:38 epi Exp $
*/

#ifndef __CONFIG_H
#define __CONFIG_H

int conf_read_file(char *file_name);

char *conf_get_option(char *server_name, char *option_name);

int conf_re_read_file(char *file_name);

char *conf_find_server_name(char *home_location, char *server_type);
char *conf_get_next_server(char *server_name);
char *conf_get_next_num_server(int num);
char *conf_get_next_option(char *server_name, char *option_name);

int conf_is_server_exist(char *server_name);
int conf_walk_server(char *server_name,
int (*callback)(char *opt_name, char *opt_value));

int conf_write_file(char * file_name);

void conf_clear_all(void);
void conf_set_option(char *server_name, char *option_name, char *value);

#endif