added qse_ubi_t

separated task functions from httpd.c to httpd_task.c
This commit is contained in:
2011-07-21 10:17:16 +00:00
parent 618f8bcf1f
commit b08ebd719c
19 changed files with 627 additions and 467 deletions

View File

@ -104,7 +104,15 @@ struct qse_xma_t
#endif
};
typedef int (*qse_xma_dumper_t) (void* target, const qse_char_t* fmt,...);
/**
* The qse_xma_dumper_t type defines a printf-like output function
* for qse_xma_dump().
*/
typedef int (*qse_xma_dumper_t) (
void* ctx,
const qse_char_t* fmt,
...
);
#ifdef __cplusplus
extern "C" {
@ -187,13 +195,13 @@ void qse_xma_free (
/**
* The qse_xma_dump() function dumps the contents of the memory zone
* with the output function @a printf provided. The debug build shows
* with the output function @a dumper provided. The debug build shows
* more statistical counters.
*/
void qse_xma_dump (
qse_xma_t* xma, /**< memory allocator */
qse_xma_dumper_t dumper, /**< output function */
void* target /**< first parameter to output function */
void* ctx /**< first parameter to output function */
);
#ifdef __cplusplus