CVS update: php3/functions
| From: | ssb | Date: | Wed, 21 Oct 1998 13:43:50 +0000 |
| Subject: | CVS update: php3/functions | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-1935@lists.php.net to get a copy of this message | ||
Date: Wednesday October 21, 1998 @ 9:43
Author: ssb
Update of /repository/php3/functions
In directory asf:/u2/tmp/cvs-serv3440
Modified Files:
php3_xml.h
Log Message:
* added XML_Parser{Set,Get}Option() functions
* added case-folding option
Index: php3/functions/php3_xml.h
diff -c php3/functions/php3_xml.h:1.2 php3/functions/php3_xml.h:1.3
*** php3/functions/php3_xml.h:1.2 Wed Oct 21 07:03:09 1998
--- php3/functions/php3_xml.h Wed Oct 21 09:43:49 1998
***************
*** 43,48 ****
--- 43,49 ----
typedef struct {
int index;
+ int case_folding;
XML_Parser parser;
char *startElementHandler;
char *endElementHandler;
***************
*** 59,64 ****
--- 60,69 ----
extern php3_module_entry xml_module_entry;
# define xml_module_ptr &xml_module_entry
+ enum php3_xml_option {
+ PHP3_XML_OPTION_CASE_FOLDING
+ };
+
# define RETURN_OUT_OF_MEMORY \
php3_error(E_WARNING, "Out of memory");\
RETURN_FALSE
***************
*** 78,83 ****
--- 83,90 ----
PHP_FUNCTION(xml_getcurrentcolumnnumber);
PHP_FUNCTION(xml_getcurrentbyteindex);
PHP_FUNCTION(xml_parserfree);
+ PHP_FUNCTION(xml_parsersetoption);
+ PHP_FUNCTION(xml_parsergetoption);
#else /* !HAVE_LIBEXPAT */
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net