]> jfr.im git - irc/quakenet/snircd.git/blame - include/ircd_auth.h
Initial import of 2.10.12.01
[irc/quakenet/snircd.git] / include / ircd_auth.h
CommitLineData
189935b1 1#ifndef INCLUDED_ircd_auth_h
2#define INCLUDED_ircd_auth_h
3
4/*
5 * IRC - Internet Relay Chat, ircd/ircd_auth.h
6 * Copyright 2004 Michael Poole <mdpoole@troilus.org>
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2, or (at your option)
11 * any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
21 * 02111-1307, USA.
22 */
23/** @file
24 * @brief Interface to IAuth client implementation.
25 * @version $Id: ircd_auth.h,v 1.2 2004/10/05 04:21:37 entrope Exp $
26 */
27
28#ifndef INCLUDED_config_h
29#include "config.h"
30#endif
31
32struct IAuth;
33extern struct IAuth *iauth_active;
34
35struct IAuth *iauth_connect(char *host, unsigned short port, char *passwd, time_t reconnect, time_t timeout);
36int iauth_start_client(struct IAuth *iauth, struct Client *cptr);
37void iauth_exit_client(struct Client *cptr);
38
39void iauth_mark_closing(void);
40void iauth_close_unused(void);
41
42#endif