]>
jfr.im git - irc/quakenet/snircd.git/blob - include/ircd_auth.h
1 #ifndef INCLUDED_ircd_auth_h
2 #define INCLUDED_ircd_auth_h
5 * IRC - Internet Relay Chat, ircd/ircd_auth.h
6 * Copyright 2004 Michael Poole <mdpoole@troilus.org>
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)
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.
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
24 * @brief Interface to IAuth client implementation.
25 * @version $Id: ircd_auth.h,v 1.2 2004/10/05 04:21:37 entrope Exp $
28 #ifndef INCLUDED_config_h
33 extern struct IAuth
*iauth_active
;
35 struct IAuth
*iauth_connect(char *host
, unsigned short port
, char *passwd
, time_t reconnect
, time_t timeout
);
36 int iauth_start_client(struct IAuth
*iauth
, struct Client
*cptr
);
37 void iauth_exit_client(struct Client
*cptr
);
39 void iauth_mark_closing(void);
40 void iauth_close_unused(void);