Diff for libcfg+/src/cfg+.h between version 1.31 and 1.32
| version 1.31, 2002/04/10 13:51:46 |
version 1.32, 2002/04/10 23:57:17 |
|
|
| |
|
| |
|
| /** |
/** |
| * @name Others functions |
* @name Error handling functions |
| */ |
*/ |
| /*@{*/ |
/*@{*/ |
| |
|
| /** |
/** |
| * Print error string |
* Print error string |
| * |
* |
| * @param con initialized context |
* @param con initialized context |
| * @param errorcode code of libcfg error |
* @param errorcode code of libcfg error |
| |
* @param fh stream opened for writting |
| * @return void |
* @return void |
| */ |
*/ |
| void cfg_print_error(const CFG_CONTEXT con, const int errorcode); |
void cfg_print_error(const CFG_CONTEXT con, const int errorcode, FILE *fh); |
| |
|
| |
/** |
| |
* Get error string; error string is dynamically allocated, it needs to be |
| |
* freed after use. |
| |
* |
| |
* @param con initialized context |
| |
* @param errorcode code of libcfg error |
| |
* @return dynamically allocated error string |
| |
*/ |
| |
char *cfg_get_error_str(const CFG_CONTEXT con, const int errorcode); |
| |
|
| /** |
/** |
| * Get error string |
* Get static error string |
| * |
* |
| * @param errorcode code of libcfg error |
* @param errorcode code of libcfg error |
| * @return static error string |
* @return static error string |
| */ |
*/ |
| const char *cfg_get_error_str(const int errorcode); |
char *cfg_get_static_error_str(const int errorcode); |
| /*@}*/ |
/*@}*/ |
| |
|
| #ifdef __cplusplus |
#ifdef __cplusplus |
Platon Group <platon@platon.org> http://platon.org/
|
|