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