File: log.h

package info (click to toggle)
hybserv 1.9.2-4
  • links: PTS
  • area: main
  • in suites: etch-m68k
  • size: 2,848 kB
  • ctags: 1,854
  • sloc: ansic: 37,037; sh: 3,167; makefile: 337
file content (24 lines) | stat: -rw-r--r-- 576 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
 * log.h
 * Hybserv2 Services by Hybserv2 team
 *
 * $Id: log.h 1140 2005-08-03 19:53:51Z kreator $
 */

#ifndef INCLUDED_log_h
#define INCLUDED_log_h

#include "stdinc.h"
#include "config.h"

/* Logging levels */
#define    LOG0    0  /* log nothing */
#define    LOG1    1  /* log security stuff - kills, admin commands etc */
#define    LOG2    2  /* same as 2, with some more events logged */
#define    LOG3    3  /* log all channel stuff as well */

void putlog(int, char *, ...);
void RecordCommand(char *, ...);
void CheckLogs(time_t);

#endif /* INCLUDED_log_h */