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
26 #ifndef INCLUDED_config_h
31 extern struct IAuth *iauth_active;
33 struct IAuth *iauth_connect(char *host, unsigned short port, char *passwd, time_t reconnect, time_t timeout);
34 int iauth_start_client(struct IAuth *iauth, struct Client *cptr);
35 void iauth_exit_client(struct Client *cptr);
37 void iauth_mark_closing(void);
38 void iauth_close_unused(void);