log warning, error doc
This commit is contained in:
parent
864e2d1692
commit
cb58b2bb12
5 changed files with 11 additions and 7 deletions
|
|
@ -92,14 +92,14 @@ extern char clicon_err_reason[ERR_STRLEN];
|
|||
/*
|
||||
* Prototypes
|
||||
*/
|
||||
int clicon_err_reset(void);
|
||||
int clicon_err_reset(void);
|
||||
#if defined(__GNUC__) && __GNUC__ >= 3
|
||||
int clicon_err_fn(const char *fn, const int line, int category, int err, const char *format, ...) __attribute__ ((format (printf, 5, 6)));
|
||||
int clicon_err_fn(const char *fn, const int line, int category, int err, const char *format, ...) __attribute__ ((format (printf, 5, 6)));
|
||||
#else
|
||||
int clicon_err_fn(const char *fn, const int line, int category, int err, const char *format, ...);
|
||||
int clicon_err_fn(const char *fn, const int line, int category, int err, const char *format, ...);
|
||||
#endif
|
||||
char *clicon_strerror(int err);
|
||||
void *clicon_err_save(void);
|
||||
int clicon_err_restore(void *handle);
|
||||
int clicon_err_restore(void *handle);
|
||||
|
||||
#endif /* _CLIXON_ERR_H_ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue