Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)
Typedefs | Functions
gzlog.h File Reference

Go to the source code of this file.

Typedefs

typedef void gzlog
 

Functions

gzloggzlog_open (char *path)
 
int gzlog_write (gzlog *log, void *data, size_t len)
 
int gzlog_compress (gzlog *log)
 
int gzlog_close (gzlog *log)
 

Typedef Documentation

◆ gzlog

typedef void gzlog

Definition at line 52 of file gzlog.h.

Function Documentation

◆ gzlog_close()

int gzlog_close ( gzlog log)

Definition at line 1044 of file gzlog.c.

References free, log::id, log_close(), LOGID, NULL, and log::path.

◆ gzlog_compress()

int gzlog_compress ( gzlog log)

◆ gzlog_open()

gzlog * gzlog_open ( char *  path)

Definition at line 867 of file gzlog.c.

References log::end, log::fd, free, log::id, log_open(), LOGID, malloc, NULL, log::path, and strlen().

◆ gzlog_write()

int gzlog_write ( gzlog log,
void *  data,
size_t  len 
)