Added a function that frees the skygw_file_t memory but doesn't close it.

This commit is contained in:
Markus Makela
2015-04-29 18:25:04 +03:00
parent 9ce225c2cb
commit 47e5b12eb8
3 changed files with 33 additions and 1 deletions

View File

@ -219,6 +219,7 @@ EXTERN_C_BLOCK_END
skygw_file_t* skygw_file_init(char* fname, char* symlinkname);
skygw_file_t* skygw_file_init_stdout(char* fname, char* symlinkname);
void skygw_file_close(skygw_file_t* file, bool shutdown);
void skygw_file_close_stdout(skygw_file_t*, bool);
int skygw_file_write(
skygw_file_t* file,
void* data,