File: log.h

package info (click to toggle)
ratbox-services 1.2.4%2Brepack-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 11,760 kB
  • ctags: 6,989
  • sloc: ansic: 76,435; sh: 17,527; cpp: 3,029; perl: 1,048; makefile: 740; pascal: 607; yacc: 256; lex: 232
file content (18 lines) | stat: -rw-r--r-- 494 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* $Id: log.h 22828 2006-06-25 18:34:00Z leeh $ */
#ifndef INCLUDED_log_h
#define INCLUDED_log_h

struct client;
struct lconn;

extern void open_logfile(void);
extern void open_service_logfile(struct client *service_p);
extern void reopen_logfiles(void);

extern void PRINTFLIKE(1, 2) mlog(const char *format, ...);

extern void PRINTFLIKE(7, 8) zlog(struct client *, int loglevel, unsigned int watchlevel, int oper,
					struct client *, struct lconn *,
					const char *format, ...);

#endif