Remove unused file iauth.h and elaborate on why fileio.h is needed.
authorMichael Poole <mdpoole@troilus.org>
Thu, 1 Jul 2004 23:46:45 +0000 (23:46 +0000)
committerMichael Poole <mdpoole@troilus.org>
Thu, 1 Jul 2004 23:46:45 +0000 (23:46 +0000)
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1085 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

ChangeLog
include/fileio.h
include/iauth.h [deleted file]

index d4d341b356a4ff86baf360bb66369f60cf06a56b..baedcdd132a0c7de3b9419b56b3a837b653141b7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2004-07-01  Michael Poole <mdpoole@troilus.org>
+
+       * include/fileio.h: Elaborate on "works for any file descriptor."
+
+       * include/iauth.h: Remove unused file.
+
 2004-07-01  Michael Poole <mdpoole@troilus.org>
 
        * include/map.h, ircd/map.c: Remove unused code.
index f3c5300079183b3d23944fc4345b2aa2ee5cc6e4..f7bf6c20a1fcb0877f42edb8c6ea154e09f265cc 100644 (file)
@@ -17,6 +17,8 @@ struct stat;
  * FileBuf is a mirror of the ANSI FILE struct, but it works for any
  * file descriptor. FileBufs are allocated when a file is opened with
  * fbopen, and they are freed when the file is closed using fbclose.
+ * (Some OSes limit the range of file descriptors in a FILE*, for
+ * example to fit in "char".)
  */
 typedef struct FileBuf FBFILE;
 
diff --git a/include/iauth.h b/include/iauth.h
deleted file mode 100644 (file)
index e980ac3..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-/* - Internet Relay Chat, include/iauth.h
- *   Copyright (C) 2001 Perry Lorier <Isomer@coders.net>
- *
- *   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_iauth_h
-#define INCLUDED_iauth_h
-
-struct Iauth {
-  struct Iauth*    next;               /* list node pointer */
-  int              fd;                 /* file descriptor */
-  char*                   service;            /* service name */
-  int              ref_count;          /* number of connection references */
-  unsigned char    active;             /* current state of iauth */
-};
-
-extern struct Iauth* IauthPollList; /* GLOBAL - iauth list */
-
-
-#endif /* INCLUDED_iauth_h */
-