|
|
|
@ -52,7 +52,6 @@ extern "C" { |
|
|
|
|
|
|
|
|
|
|
|
int iniparser_getnsec(const dictionary *d); |
|
|
|
int iniparser_getnsec(const dictionary *d); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*-------------------------------------------------------------------------*/ |
|
|
|
/*-------------------------------------------------------------------------*/ |
|
|
|
/**
|
|
|
|
/**
|
|
|
|
@brief Get name for section n in a dictionary. |
|
|
|
@brief Get name for section n in a dictionary. |
|
|
|
@ -70,7 +69,6 @@ int iniparser_getnsec(const dictionary * d); |
|
|
|
|
|
|
|
|
|
|
|
const char *iniparser_getsecname(const dictionary *d, int n); |
|
|
|
const char *iniparser_getsecname(const dictionary *d, int n); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*-------------------------------------------------------------------------*/ |
|
|
|
/*-------------------------------------------------------------------------*/ |
|
|
|
/**
|
|
|
|
/**
|
|
|
|
@brief Save a dictionary to a loadable ini file |
|
|
|
@brief Save a dictionary to a loadable ini file |
|
|
|
@ -143,7 +141,6 @@ int iniparser_getsecnkeys(const dictionary * d, const char * s); |
|
|
|
/*--------------------------------------------------------------------------*/ |
|
|
|
/*--------------------------------------------------------------------------*/ |
|
|
|
const char **iniparser_getseckeys(const dictionary *d, const char *s, const char **keys); |
|
|
|
const char **iniparser_getseckeys(const dictionary *d, const char *s, const char **keys); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*-------------------------------------------------------------------------*/ |
|
|
|
/*-------------------------------------------------------------------------*/ |
|
|
|
/**
|
|
|
|
/**
|
|
|
|
@brief Get the string associated to a key |
|
|
|
@brief Get the string associated to a key |
|
|
|
@ -239,7 +236,6 @@ double iniparser_getdouble(const dictionary * d, const char * key, double notfou |
|
|
|
/*--------------------------------------------------------------------------*/ |
|
|
|
/*--------------------------------------------------------------------------*/ |
|
|
|
int iniparser_getboolean(const dictionary *d, const char *key, int notfound); |
|
|
|
int iniparser_getboolean(const dictionary *d, const char *key, int notfound); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*-------------------------------------------------------------------------*/ |
|
|
|
/*-------------------------------------------------------------------------*/ |
|
|
|
/**
|
|
|
|
/**
|
|
|
|
@brief Set an entry in a dictionary. |
|
|
|
@brief Set an entry in a dictionary. |
|
|
|
@ -255,7 +251,6 @@ int iniparser_getboolean(const dictionary * d, const char * key, int notfound); |
|
|
|
/*--------------------------------------------------------------------------*/ |
|
|
|
/*--------------------------------------------------------------------------*/ |
|
|
|
int iniparser_set(dictionary *ini, const char *entry, const char *val); |
|
|
|
int iniparser_set(dictionary *ini, const char *entry, const char *val); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*-------------------------------------------------------------------------*/ |
|
|
|
/*-------------------------------------------------------------------------*/ |
|
|
|
/**
|
|
|
|
/**
|
|
|
|
@brief Delete an entry in a dictionary |
|
|
|
@brief Delete an entry in a dictionary |
|
|
|
|