cvs: php4 /ext/bz2 bz2.c /ext/calendar calendar.c

From: Date: Tue, 04 Sep 2001 21:07:15 +0000
Subject: cvs: php4 /ext/bz2 bz2.c /ext/calendar calendar.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-7208@lists.php.net to get a copy of this message
eschmid Tue Sep 4 17:07:15 2001 EDT Modified files: /php4/ext/bz2 bz2.c /php4/ext/calendar calendar.c Log: Fixed some protos. Index: php4/ext/bz2/bz2.c diff -u php4/ext/bz2/bz2.c:1.22 php4/ext/bz2/bz2.c:1.23 --- php4/ext/bz2/bz2.c:1.22 Fri Aug 31 20:31:44 2001 +++ php4/ext/bz2/bz2.c Tue Sep 4 17:07:14 2001 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: bz2.c,v 1.22 2001/09/01 00:31:44 sterling Exp $ */ +/* $Id: bz2.c,v 1.23 2001/09/04 21:07:14 eschmid Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -97,7 +97,7 @@ } /* {{{ proto int bzopen(string|int file|fp, string mode) - Open a new BZip2 stream */ + Opens a new BZip2 stream */ PHP_FUNCTION(bzopen) { zval **file, /* The file to open */ @@ -139,8 +139,8 @@ } /* }}} */ -/* {{{ proto string bzread(int bz[, int len]) - Read len bytes from the BZip2 stream given by bz */ +/* {{{ proto string bzread(int bz [, int len]) + Reads len bytes from the BZip2 stream given by bz */ PHP_FUNCTION(bzread) { zval **bzp, /* BZip2 Resource Pointer */ @@ -175,8 +175,8 @@ } /* }}} */ -/* {{{ proto int bzwrite(int bz, string data[, int len]) - Write data to the BZip2 stream given by bz */ +/* {{{ proto int bzwrite(int bz, string data [, int len]) + Writes data to the BZip2 stream given by bz */ PHP_FUNCTION(bzwrite) { zval **bzp, /* Bzip2 Resource Pointer */ @@ -212,7 +212,7 @@ /* }}} */ /* {{{ proto int bzflush(int bz) - Flush a BZip2 stream */ + Flushes a BZip2 stream */ PHP_FUNCTION(bzflush) { zval **bzp; /* BZip2 Resource Pointer */ @@ -231,7 +231,7 @@ /* }}} */ /* {{{ proto int bzclose(int bz) - Close a BZip2 stream */ + Closes a BZip2 stream */ PHP_FUNCTION(bzclose) { zval **bzp=NULL; /* BZip2 Resource Pointer */ @@ -247,7 +247,7 @@ /* }}} */ /* {{{ proto int bzerrno(int bz) - Return the error number */ + Returns the error number */ PHP_FUNCTION(bzerrno) { php_bz2_error(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_BZ_ERRNO); @@ -255,7 +255,7 @@ /* }}} */ /* {{{ proto string bzerrstr(int bz) - Return the error string */ + Returns the error string */ PHP_FUNCTION(bzerrstr) { php_bz2_error(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_BZ_ERRSTR); @@ -263,15 +263,15 @@ /* }}} */ /* {{{ proto array bzerror(int bz) - Return the error number and error string in an associative array */ + Returns the error number and error string in an associative array */ PHP_FUNCTION(bzerror) { php_bz2_error(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_BZ_ERRBOTH); } /* }}} */ -/* {{{ proto string bzcompress(string source[, int blockSize100k[, int workFactor]]) - Compress a string into BZip2 encoded data */ +/* {{{ proto string bzcompress(string source [, int blocksize100k [, int workfactor]]) + Compresses a string into BZip2 encoded data */ PHP_FUNCTION(bzcompress) { zval **source, /* Source data to compress */ @@ -328,8 +328,8 @@ } /* }}} */ -/* {{{ proto string bzdecompress(string source[, int small]) - Decompress BZip2 compressed data */ +/* {{{ proto string bzdecompress(string source [, int small]) + Decompresses BZip2 compressed data */ PHP_FUNCTION(bzdecompress) { zval **source, /* Source data to decompress */ Index: php4/ext/calendar/calendar.c diff -u php4/ext/calendar/calendar.c:1.19 php4/ext/calendar/calendar.c:1.20 --- php4/ext/calendar/calendar.c:1.19 Sat Aug 11 12:38:18 2001 +++ php4/ext/calendar/calendar.c Tue Sep 4 17:07:15 2001 @@ -18,7 +18,7 @@ | Wez Furlong <wez@thebrainroom.com> | +----------------------------------------------------------------------+ */ -/* $Id: calendar.c,v 1.19 2001/08/11 16:38:18 zeev Exp $ */ +/* $Id: calendar.c,v 1.20 2001/09/04 21:07:15 eschmid Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -137,7 +137,7 @@ } /* {{{ proto array cal_info(int calendar) - * Return information about a particular calendar */ + Returns information about a particular calendar */ PHP_FUNCTION(cal_info) { zval ** cal; @@ -176,7 +176,7 @@ /* }}} */ /* {{{ proto int cal_days_in_month(int calendar, int month, int year) - * Returns the number of days in a month for a given year and calendar */ + Returns the number of days in a month for a given year and calendar */ PHP_FUNCTION(cal_days_in_month) { zval ** cal, **month, **year; @@ -212,7 +212,7 @@ /* }}} */ /* {{{ proto int cal_to_jd(int calendar, int month, int day, int year) - * Convert from a supported calendar to Julian Day Count */ + Converts from a supported calendar to Julian Day Count */ PHP_FUNCTION(cal_to_jd) { zval ** cal, **month, **day, **year; @@ -239,7 +239,7 @@ /* }}} */ /* {{{ proto array cal_from_jd(int jd, int calendar) - * Convert from Julian Day Count to a supported calendar and return extended information */ + Converts from Julian Day Count to a supported calendar and return extended information */ PHP_FUNCTION(cal_from_jd) { zval ** jd, ** cal; @@ -284,7 +284,7 @@ /* }}} */ /* {{{ proto string jdtogregorian(int juliandaycount) - Convert a julian day count to a gregorian calendar date */ + Converts a julian day count to a gregorian calendar date */ PHP_FUNCTION(jdtogregorian) { pval **julday; @@ -304,7 +304,7 @@ /* }}} */ /* {{{ proto int gregoriantojd(int month, int day, int year) - Convert a gregorian calendar date to julian day count */ + Converts a gregorian calendar date to julian day count */ PHP_FUNCTION(gregoriantojd) { pval **year, **month, **day; @@ -345,7 +345,7 @@ /* }}} */ /* {{{ proto int juliantojd(int month, int day, int year) - Convert a julian calendar date to julian day count */ + Converts a julian calendar date to julian day count */ PHP_FUNCTION(juliantojd) { pval **year, **month, **day; @@ -366,7 +366,7 @@ /* }}} */ /* {{{ proto string jdtojewish(int juliandaycount) - Convert a julian day count to a jewish calendar date */ + Converts a julian day count to a jewish calendar date */ PHP_FUNCTION(jdtojewish) { pval **julday; @@ -387,7 +387,7 @@ /* }}} */ /* {{{ proto int jewishtojd(int month, int day, int year) - Convert a jewish calendar date to a julian day count */ + Converts a jewish calendar date to a julian day count */ PHP_FUNCTION(jewishtojd) { pval **year, **month, **day; @@ -408,7 +408,7 @@ /* }}} */ /* {{{ proto string jdtofrench(int juliandaycount) - Convert a julian day count to a french republic calendar date */ + Converts a julian day count to a french republic calendar date */ PHP_FUNCTION(jdtofrench) { pval **julday; @@ -429,7 +429,7 @@ /* }}} */ /* {{{ proto int frenchtojd(int month, int day, int year) - Convert a french republic calendar date to julian day count */ + Converts a french republic calendar date to julian day count */ PHP_FUNCTION(frenchtojd) { pval **year, **month, **day;

« previous php.cvs (#7208) next »