view src/master/log.h @ 9348:3eacb6bbd227 HEAD

Added pop3_save_uidl setting. When UIDLs are sent to client, save them to dovecot-uidlist. This allows changing pop3_uidl_format without messages getting re-downloaded. It's also useful with virtual POP3 INBOX when UIDLs are based on IMAP UIDs that may not be as stable as in non-virtual INBOX.
author Timo Sirainen <tss@iki.fi>
date Mon, 31 Aug 2009 18:53:17 -0400
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