cvs: pecl /paradox paradox.c

From: Date: Tue, 02 Dec 2003 11:40:17 +0000
Subject: cvs: pecl /paradox paradox.c
Groups: php.pecl.cvs 
Request: Send a blank email to pecl-cvs+get-546@lists.php.net to get a copy of this message
steinm Tue Dec 2 06:40:17 2003 EDT Modified files: /pecl/paradox paradox.c Log: - errorhandler and PX_create_fp() have new parameter Index: pecl/paradox/paradox.c diff -u pecl/paradox/paradox.c:1.11 pecl/paradox/paradox.c:1.12 --- pecl/paradox/paradox.c:1.11 Sat Nov 15 09:38:58 2003 +++ pecl/paradox/paradox.c Tue Dec 2 06:40:16 2003 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: paradox.c,v 1.11 2003/11/15 14:38:58 steinm Exp $ */ +/* $Id: paradox.c,v 1.12 2003/12/02 11:40:16 steinm Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -121,7 +121,7 @@ /* {{{ px_custom_errorhandler */ -static void px_custom_errorhandler(pxdoc_t *p, int type, const char *shortmsg) +static void px_custom_errorhandler(pxdoc_t *p, int type, const char *shortmsg, void *data) { TSRMLS_FETCH(); switch(type) { @@ -346,7 +346,7 @@ default: snprintf(tmp, 31, "none"); break; } php_info_print_table_row(2, "support for recoding record data", tmp ); - php_info_print_table_row(2, "Revision", "$Revision: 1.11 $" ); + php_info_print_table_row(2, "Revision", "$Revision: 1.12 $" ); php_info_print_table_end(); /* Remove comments if you have entries in php.ini @@ -560,7 +560,7 @@ zend_hash_move_forward(lht); } - if (PX_create_fp(pxdoc, pxf, numfields, fp) < 0) { + if (PX_create_fp(pxdoc, pxf, numfields, fp, pxfFileTypNonIndexDB) < 0) { php_error_docref(NULL TSRMLS_CC, E_WARNING, "could not create paradox file"); RETURN_FALSE; }

« previous php.pecl.cvs (#546) next »