| version 1.2, 2002/02/17 15:18:45 |
version 1.3, 2002/04/07 16:42:33 |
|
|
| * http://www.platon.sk/projects/libcfg/ |
* http://www.platon.sk/projects/libcfg/ |
| */ |
*/ |
| |
|
| |
/** |
| |
* @file props.h |
| |
* @brief context properties manipulation header file |
| |
* @author Ondrej Jombik <nepto@pobox.sk> |
| |
* @version \$Id$ |
| |
* @date 2001-2002 |
| |
*/ |
| |
|
| #ifndef _PLATON_CFG_PROPS_H |
#ifndef _PLATON_CFG_PROPS_H |
| #define _PLATON_CFG_PROPS_H |
#define _PLATON_CFG_PROPS_H |
| |
|
| |
/** |
| |
* Free dynamic array of strings. |
| |
* |
| |
* @param where address of dynamic array of string |
| |
* @return void |
| |
* @retval where dynamic array of strings will be NULL |
| |
*/ |
| void __cfg_clear_strdyn_array(char ***where); |
void __cfg_clear_strdyn_array(char ***where); |
| |
|
| |
/** |
| |
* Add string to dynamic array of strings. |
| |
* |
| |
* @param where address of dynamic array of string |
| |
* @param str string for addition |
| |
* @return 1 on success, 0 on not enough memory error |
| |
* @retval where dynamic array of strings will be modified |
| |
*/ |
| int __cfg_add_strdyn_array(char ***where, char *str); |
int __cfg_add_strdyn_array(char ***where, char *str); |
| |
|
| |
/** |
| |
* Remove string from dynamic array of strings. |
| |
* |
| |
* @param where address of dynamic array of string |
| |
* @param str string for removing |
| |
* @return 1 on success, 0 on not enough memory error |
| |
* @retval where dynamic array of strings will be modified |
| |
*/ |
| int __cfg_remove_strdyn_array(char ***where, char *str); |
int __cfg_remove_strdyn_array(char ***where, char *str); |
| |
|
| #endif /* #ifndef _PLATON_CFG_PROPS_H */ |
#endif /* #ifndef _PLATON_CFG_PROPS_H */ |