/*
 * POP3Lite - 3lite POP3 Daemon
 * Copyright (C) 2000, 2001 Gergely Nagy <8@free.bsd.hu>
 *
 * This file is part of POP3Lite.
 *
 * POP3Lite 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 2 of the License, or
 * (at your option) any later version.
 *
 * POP3Lite 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 */

/*
 * $Id: core_sys.h,v 1.4 2001/01/12 15:58:59 algernon Exp $
 */

#ifndef __CORE_SYS_H__
#define __CORE_SYS_H__ 1

#include <pop3lite.h>
#include <glib.h>

void default_sys_openlog ( P3LControl *control );
void default_sys_closelog ( P3LControl *control );
void default_sys_log ( P3LControl *control, int priority,
		       const char *format, ... );
UserInfo *default_sys_getuinam ( P3LControl *control,
				 const char *name );
AuthResult default_sys_authenticate ( P3LControl *control,
				      const char *name, const char *pass );
void default_sys_drop_privileges ( P3LControl *control );

#endif /* ! __CORE_SYS_H__ */


syntax highlighted by Code2HTML, v. 0.9.1