This repository has been archived on 2025-02-12. You can view files and clone it, but cannot push or open issues or pull requests.
NeoStats-NeoIRCd/iauth/include/log.h
2002-08-13 14:45:13 +00:00

37 lines
1.1 KiB
C

/************************************************************************
* IRC - Internet Relay Chat, iauth/log.h
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 1, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
* $Id: log.h,v 1.2 2002/08/13 14:45:09 fishwaldo Exp $
*/
#ifndef INCLUDED_log_h
#define INCLUDED_log_h
/*
* Logging levels
*/
#define L_ERROR 1
#define L_INFO 2
/*
* Prototypes
*/
void log(int level, char *format, ...);
void InitLog(char *filename);
#endif /* INCLUDED_log_h */