Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

log.h File Reference

Log system headers. More...

#include "interp.h"

Go to the source code of this file.

Classes

class  SLogfile
 Class for handling logfile operations. More...


Defines

#define LOGF_NORMAL   0x0
 Normal log entry.

#define LOGF_BADPW   0x1
 Bad PW Log.

#define LOGF_FAIL   0x2
 Failed command log.

#define LOGF_OFF   0x4
 'Value turned off' log

#define LOGF_ON   0x8
 'Value turned on' log

#define LOGF_OPER   0x10
 Log of oper action.

#define LOGF_PATTERN   0x20
 Data field is a pattern.

#define LOGF_SCAN   0x40
 ???

#define LOGF_OK   0x80
 Successful command log.


Functions

const char * fullhost1 (const UserList *)
 Get a user's full host mask in a NUL-terminated string form.


Variables

const char * nullFmtHack
 Used to default NULL format without triggering compiler warnings.

SLogfileoperlog
 OperServ log handler.

SLogfilenicklog
 NickServ log handler.

SLogfilechanlog
 ChanServ log handler.

FILE * corelog
 Core/System Error log file.


Detailed Description

Log system headers.

Author:
James Hess
Id
log.h,v 1.1.1.1 2003/07/04 02:54:15 Mysid Exp

Definition in file log.h.


Function Documentation

const char* fullhost1 const UserList nick  ) 
 

Get a user's full host mask in a NUL-terminated string form.

Returns:
Pointer to _static_ buffer to a user's full hostname

Definition at line 260 of file log.cc.

References _userlist::host, _userlist::nick, and _userlist::user.


Generated at Sat Oct 25 20:56:11 2003 for Services using Doxygen.
Services Copyr. 1996-2001 Chip Norkus, Max Byrd, Greg Poma, Michael Graff, James Hess, Dafydd James. All rights reserved See LICENSE for licensing information.