]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/ngircd/io.h
Fixed typo in #ifdef which tests if this header is already included or not.
[ngircd-alex.git] / src / ngircd / io.h
index 3890bcc7df8111ead63749b1c1d844e1dde22e7c..a2285de4abfd3ec3f28fe9792f802bcd2a5886fa 100644 (file)
@@ -7,10 +7,10 @@
  *
  * I/O abstraction interface header
  *
- * $Id: io.h,v 1.1 2005/07/07 18:38:35 fw Exp $
+ * $Id: io.h,v 1.4 2006/12/25 22:53:52 alex Exp $
  */
 
-#ifndef io_H_inclucded
+#ifndef io_H_included
 #define io_H_included
 
 #include "portab.h"
 #define IO_WANTREAD    1
 #define IO_WANTWRITE   2
 
-/* init library.  sets up epoll/kqueue descriptors and tries to allocate space for ioevlen file descriptors.
-   ioevlen is just the _initial_ size, not a limit. */
+/* init library.
+   sets up epoll/kqueue descriptors and tries to allocate space for ioevlen
+   file descriptors. ioevlen is just the _initial_ size, not a limit. */
 bool io_library_init PARAMS((unsigned int ioevlen));
 
 /* shutdown and free all internal data structures */
-bool io_library_shutdown PARAMS((void));
+void io_library_shutdown PARAMS((void));
 
 /* add fd to internal set, enable readability check, set callback */
 bool io_event_create PARAMS((int fd, short what, void (*cbfunc)(int, short)));