/* dircproxy
* Copyright (C) 2002 Scott James Remnant <scott@netsplit.com>.
* All Rights Reserved.
*
* irc_log.h
* --
* @(#) $Id: irc_log.h,v 1.9 2001/12/21 20:15:55 keybuk Exp $
*
* This file is distributed according to the GNU General Public
* License. For full details, read the top of 'main.c' or the
* file called COPYING that was distributed with this code.
*/
#ifndef __DIRCPROXY_IRC_LOG_H
#define __DIRCPROXY_IRC_LOG_H
/* required includes */
#include <stdio.h>
#include "irc_net.h"
/* functions */
extern int irclog_maketempdir(struct ircproxy *);
extern int irclog_closetempdir(struct ircproxy *);
extern int irclog_init(struct ircproxy *, const char *);
extern void irclog_free(struct logfile *);
extern int irclog_open(struct ircproxy *, const char *);
extern void irclog_close(struct ircproxy *, const char *);
extern int irclog_msg(struct ircproxy *, const char *, const char *,
const char *, ...);
extern int irclog_notice(struct ircproxy *, const char *, const char *,
const char *, ...);
extern int irclog_ctcp(struct ircproxy *, const char *, const char *,
const char *, ...);
extern int irclog_autorecall(struct ircproxy *, const char *);
extern int irclog_recall(struct ircproxy *, const char *, long, long,
const char *);
#endif /* __DIRCPROXY_IRC_LOG_H */
syntax highlighted by Code2HTML, v. 0.9.1