klogprv.h File Reference

Go to the source code of this file.

Functions

int klog_new (int type, int threshold, const char *ident, klog_t **pkl)
int klog_open_mem (klog_t *kl, size_t ln_max)
int klog_open_syslog (klog_t *kl, int fac, int logopt)
int klog_open_file (klog_t *kl, const char *base, size_t npages, size_t nlines)
const char * klog_to_str (int lev)

Function Documentation

int klog_new ( int  type,
int  threshold,
const char *  ident,
klog_t **  pkl 
)

Definition at line 18 of file common.c.

int klog_open_file ( klog_t kl,
const char *  base,
size_t  npages,
size_t  nlines 
)

Definition at line 62 of file file.c.

int klog_open_mem ( klog_t kl,
size_t  ln_max 
)

Definition at line 30 of file mem.c.

int klog_open_syslog ( klog_t kl,
int  fac,
int  logopt 
)

Definition at line 36 of file syslog.c.

const char* klog_to_str ( int  lev  ) 

Definition at line 51 of file common.c.