cvs: php4 /ext/bz2 bz2.c

From: Date: Thu, 01 Nov 2001 09:45:25 +0000
Subject: cvs: php4 /ext/bz2 bz2.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-8044@lists.php.net to get a copy of this message
jeroen Thu Nov 1 04:45:25 2001 EDT Modified files: /php4/ext/bz2 bz2.c Log: Fix protos Index: php4/ext/bz2/bz2.c diff -u php4/ext/bz2/bz2.c:1.28 php4/ext/bz2/bz2.c:1.29 --- php4/ext/bz2/bz2.c:1.28 Thu Nov 1 03:36:06 2001 +++ php4/ext/bz2/bz2.c Thu Nov 1 04:45:25 2001 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: bz2.c,v 1.28 2001/11/01 08:36:06 derick Exp $ */ +/* $Id: bz2.c,v 1.29 2001/11/01 09:45:25 jeroen Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -101,7 +101,7 @@ php_info_print_table_end(); } -/* {{{ proto int bzopen(string|int file|fp, string mode) +/* {{{ proto resource bzopen(string fn|resource fp, string mode) Opens a new BZip2 stream */ PHP_FUNCTION(bzopen) { @@ -144,7 +144,7 @@ } /* }}} */ -/* {{{ proto string bzread(int bz [, int len]) +/* {{{ proto string bzread(resouce bzp [, int len]) Reads len bytes from the BZip2 stream given by bz */ PHP_FUNCTION(bzread) { @@ -180,7 +180,7 @@ } /* }}} */ -/* {{{ proto int bzwrite(int bz, string data [, int len]) +/* {{{ proto int bzwrite(resouce bzp, string data [, int len]) Writes data to the BZip2 stream given by bz */ PHP_FUNCTION(bzwrite) { @@ -216,7 +216,7 @@ } /* }}} */ -/* {{{ proto int bzflush(int bz) +/* {{{ proto int bzflush(resouce bzp) Flushes a BZip2 stream */ PHP_FUNCTION(bzflush) { @@ -235,7 +235,7 @@ } /* }}} */ -/* {{{ proto int bzclose(int bz) +/* {{{ proto int bzclose(resouce bzp) Closes a BZip2 stream */ PHP_FUNCTION(bzclose) { @@ -251,7 +251,7 @@ } /* }}} */ -/* {{{ proto int bzerrno(int bz) +/* {{{ proto int bzerrno(resouce bzp) Returns the error number */ PHP_FUNCTION(bzerrno) { @@ -259,7 +259,7 @@ } /* }}} */ -/* {{{ proto string bzerrstr(int bz) +/* {{{ proto string bzerrstr(resouce bzp) Returns the error string */ PHP_FUNCTION(bzerrstr) { @@ -267,7 +267,7 @@ } /* }}} */ -/* {{{ proto array bzerror(int bz) +/* {{{ proto array bzerror(resouce bzp) Returns the error number and error string in an associative array */ PHP_FUNCTION(bzerror) {

« previous php.cvs (#8044) next »