+/************************************************************************
+ * IRC - Internet Relay Chat, include/s_auth.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$
+ */
+#ifndef INCLUDED_s_auth_h
+#define INCLUDED_s_auth_h
+#ifndef INCLUDED_sys_types_h
+#include <sys/types.h>
+#define INCLUDED_sys_types_h
+#endif
+#ifndef INCLUDED_config_h
+#include "config.h"
+#endif
+
+struct Client;
+
+struct AuthRequest {
+ struct AuthRequest* next; /* linked list node ptr */
+ struct AuthRequest* prev; /* linked list node ptr */
+ struct Client* client; /* pointer to client struct for request */
+ unsigned int flags; /* current state of request */
+ int fd; /* file descriptor for auth queries */
+ int index; /* select / poll index */
+ time_t timeout; /* time when query expires */
+};