Prevented redefinition of bool, added function void skygw_logmanager_exit(void) to be called by atexit

This commit is contained in:
vraatikka
2013-06-28 11:39:00 +03:00
parent 89a744c8e5
commit 1888b8a517
3 changed files with 22 additions and 1 deletions

View File

@ -47,6 +47,7 @@ EXTERN_C_BLOCK_BEGIN
bool skygw_logmanager_init(void** ctx, int argc, char* argv[]);
void skygw_logmanager_done(void** ctx);
void skygw_logmanager_exit(void);
int skygw_log_write(void* ctx, logfile_id_t id, char* str);
int skygw_log_flush(logfile_id_t id);
int skygw_log_write_flush(void* ctx, logfile_id_t id, char* str);