Home | History | Annotate | Download | only in examples

Lines Matching refs:gzlog

0 /* gzlog.h
35 The gzlog object allows writing short messages to a gzipped log file,
43 The gzlog operations can be interupted at any point due to an application or
51 /* gzlog object type */
52 typedef void gzlog;
54 /* Open a gzlog object, creating the log file if it does not exist. Return
64 interrupted gzlog operations. A gzlog_open() followed by a gzlog_close()
66 gzlog *gzlog_open(char *path);
68 /* Write to a gzlog object. Return zero on success, -1 if there is a file i/o
69 error on any of the gzlog files (this should not happen if gzlog_open()
77 int gzlog_write(gzlog *log, void *data, size_t len);
85 int gzlog_compress(gzlog *log);
87 /* Close a gzlog object. Return zero on success, -3 if the log argument is
89 int gzlog_close(gzlog *log);