Diff for libcfg+/src/cfg+.h between version 1.46 and 1.47
| version 1.46, 2002/08/04 18:07:43 |
version 1.47, 2002/08/05 19:23:20 |
|
|
| */ |
*/ |
| int cfg_clear_property( |
int cfg_clear_property( |
| const CFG_CONTEXT con, enum cfg_property_type type); |
const CFG_CONTEXT con, enum cfg_property_type type); |
| #define cfg_clear_properties(_con, _type) cfg_clear_property((_con), (_type)) |
|
| |
/** |
| |
* Clear all strings of property |
| |
* |
| |
* @param con initialized context |
| |
* @param type property type |
| |
* @return 1 on success, 0 on not enough memory error |
| |
* @see cfg_property_type |
| |
*/ |
| |
int cfg_clear_properties( |
| |
const CFG_CONTEXT con, enum cfg_property_type type, ...); |
| |
|
| |
|
| /** |
/** |
|
|
| int cfg_remove_property( |
int cfg_remove_property( |
| const CFG_CONTEXT con, enum cfg_property_type type, char *str); |
const CFG_CONTEXT con, enum cfg_property_type type, char *str); |
| |
|
| |
/** |
| |
* Remove multiple strings from property |
| |
* |
| |
* @param con initialized context |
| |
* @param type property type |
| |
* @param str string for addition |
| |
* @return 1 on success, 0 on not enough memory error |
| |
* @see cfg_property_type |
| |
* |
| |
* argument list must be termited with typeN = CFG_EOF or |
| |
* strN = NULL |
| |
* cfg_add_properties(con, type1, str1, type2, str2, type3=CFG_EOF) construction allowed |
| |
*/ |
| |
int cfg_remove_properties( |
| |
const CFG_CONTEXT con, enum cfg_property_type type, char *str, ...); |
| |
|
| /* }}} */ |
/* }}} */ |
| /*@}*/ |
/*@}*/ |
| |
|
Platon Group <platon@platon.org> http://platon.org/
|
|