view src/master/log.h @ 9658:8ba4253adc9b HEAD tip

*-login: SSL connections didn't get closed when the client got destroyed.
author Timo Sirainen <tss@iki.fi>
date Thu, 08 May 2014 16:41:29 +0300
parents 402d14b5ef8b
children
line wrap: on
line source

#ifndef LOG_H
#define LOG_H

struct log_io;

int log_create_pipe(struct log_io **log_r, unsigned int max_lines_per_sec);
void log_set_prefix(struct log_io *log, const char *prefix);
void log_set_pid(struct log_io *log, pid_t pid);

void log_ref(struct log_io *log_io);
void log_unref(struct log_io *log_io);

void log_init(void);
void log_deinit(void);

#endif