]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/ngircd/conn-zip.h
When sending an error use the IRC_WriteErrClient() variant
[ngircd-alex.git] / src / ngircd / conn-zip.h
index e2ff93f6b44e8f868f29addc2d5d327cc2840c30..573f45bf832efc2eaf9eb2ddfdefd780ec3d030f 100644 (file)
@@ -7,32 +7,29 @@
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
  * Please read the file COPYING, README and AUTHORS for more information.
- *
- * $Id: conn-zip.h,v 1.2 2003/12/26 15:55:07 alex Exp $
- *
- * Connection compression using ZLIB (header)
  */
 
-
 #ifdef ZLIB
 
 #ifndef __conn_zip_h__
 #define __conn_zip_h__
 
+/**
+ * @file
+ * Connection compression using ZLIB (header)
+ */
 
-GLOBAL BOOLEAN Zip_InitConn PARAMS(( CONN_ID Idx ));
-
-GLOBAL BOOLEAN Zip_Buffer PARAMS(( CONN_ID Idx, CHAR *Data, INT Len ));
-GLOBAL BOOLEAN Zip_Flush PARAMS(( CONN_ID Idx ));
-GLOBAL BOOLEAN Unzip_Buffer PARAMS(( CONN_ID Idx ));
+GLOBAL bool Zip_InitConn PARAMS(( CONN_ID Idx ));
 
-GLOBAL LONG Zip_SendBytes PARAMS(( CONN_ID Idx ));
-GLOBAL LONG Zip_RecvBytes PARAMS(( CONN_ID Idx ));
+GLOBAL bool Zip_Buffer PARAMS(( CONN_ID Idx, const char *Data, size_t Len ));
+GLOBAL bool Zip_Flush PARAMS(( CONN_ID Idx ));
+GLOBAL bool Unzip_Buffer PARAMS(( CONN_ID Idx ));
 
+GLOBAL long Zip_SendBytes PARAMS(( CONN_ID Idx ));
+GLOBAL long Zip_RecvBytes PARAMS(( CONN_ID Idx ));
 
 #endif /* __conn_zip_h__ */
 
 #endif /* ZLIB */
 
-
 /* -eof- */