added stix_bfmtout() and stix_oofmtout()

This commit is contained in:
hyunghwan.chung
2016-06-01 15:33:03 +00:00
parent 037bbff42c
commit 0c4ce4eb04
15 changed files with 1341 additions and 180 deletions

View File

@ -157,6 +157,16 @@ void stix_fini (stix_t* stix)
/* deregister all callbacks */
while (stix->cblist) stix_deregcb (stix, stix->cblist);
if (stix->log.ptr)
{
/* make sure to flush your log message */
/* TODO: flush unwritten message */
stix_freemem (stix, stix->log.ptr);
stix->log.capa = 0;
stix->log.len = 0;
}
}
stix_mmgr_t* stix_getmmgr (stix_t* stix)