cvs: php4 /ext/xml xml.c
| From: | Hartmut Holzgraefe | Date: | Thu, 21 Mar 2002 16:10:14 +0000 |
| Subject: | cvs: php4 /ext/xml xml.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-10530@lists.php.net to get a copy of this message | ||
hholzgra Thu Mar 21 11:10:14 2002 EDT
Modified files:
/php4/ext/xml xml.c
Log:
proto fixes
Index: php4/ext/xml/xml.c
diff -u php4/ext/xml/xml.c:1.104 php4/ext/xml/xml.c:1.105
--- php4/ext/xml/xml.c:1.104 Thu Feb 28 03:26:57 2002
+++ php4/ext/xml/xml.c Thu Mar 21 11:10:08 2002
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: xml.c,v 1.104 2002/02/28 08:26:57 sebastian Exp $ */
+/* $Id: xml.c,v 1.105 2002/03/21 16:10:08 hholzgra Exp $ */
#define IS_EXT_MODULE
@@ -999,7 +999,7 @@
/************************* EXTENSION FUNCTIONS *************************/
-/* {{{ proto int xml_parser_create([string encoding])
+/* {{{ proto resource xml_parser_create([string encoding])
Create an XML parser */
PHP_FUNCTION(xml_parser_create)
{
@@ -1050,7 +1050,7 @@
}
/* }}} */
-/* {{{ proto int xml_parser_create_ns([string encoding [, string sep]])
+/* {{{ proto resource xml_parser_create_ns([string encoding [, string sep]])
Create an XML parser */
PHP_FUNCTION(xml_parser_create_ns)
{
@@ -1108,7 +1108,7 @@
}
/* }}} */
-/* {{{ proto int xml_set_object(int pind, object &obj)
+/* {{{ proto int xml_set_object(resource parser, object &obj)
Set up object which should be used for callbacks */
PHP_FUNCTION(xml_set_object)
{
@@ -1145,7 +1145,7 @@
}
/* }}} */
-/* {{{ proto int xml_set_element_handler(int pind, string shdl, string ehdl)
+/* {{{ proto int xml_set_element_handler(resource parser, string shdl, string ehdl)
Set up start and end element handlers */
PHP_FUNCTION(xml_set_element_handler)
{
@@ -1166,7 +1166,7 @@
}
/* }}} */
-/* {{{ proto int xml_set_character_data_handler(int pind, string hdl)
+/* {{{ proto int xml_set_character_data_handler(resource parser, string hdl)
Set up character data handler */
PHP_FUNCTION(xml_set_character_data_handler)
{
@@ -1185,7 +1185,7 @@
}
/* }}} */
-/* {{{ proto int xml_set_processing_instruction_handler(int pind, string hdl)
+/* {{{ proto int xml_set_processing_instruction_handler(resource parser, string hdl)
Set up processing instruction (PI) handler */
PHP_FUNCTION(xml_set_processing_instruction_handler)
{
@@ -1204,7 +1204,7 @@
}
/* }}} */
-/* {{{ proto int xml_set_default_handler(int pind, string hdl)
+/* {{{ proto int xml_set_default_handler(resource parser, string hdl)
Set up default handler */
PHP_FUNCTION(xml_set_default_handler)
{
@@ -1222,7 +1222,7 @@
}
/* }}} */
-/* {{{ proto int xml_set_unparsed_entity_decl_handler(int pind, string hdl)
+/* {{{ proto int xml_set_unparsed_entity_decl_handler(resource parser, string hdl)
Set up unparsed entity declaration handler */
PHP_FUNCTION(xml_set_unparsed_entity_decl_handler)
{
@@ -1241,7 +1241,7 @@
}
/* }}} */
-/* {{{ proto int xml_set_notation_decl_handler(int pind, string hdl)
+/* {{{ proto int xml_set_notation_decl_handler(resource parser, string hdl)
Set up notation declaration handler */
PHP_FUNCTION(xml_set_notation_decl_handler)
{
@@ -1259,7 +1259,7 @@
}
/* }}} */
-/* {{{ proto int xml_set_external_entity_ref_handler(int pind, string hdl)
+/* {{{ proto int xml_set_external_entity_ref_handler(resource parser, string hdl)
Set up external entity reference handler */
PHP_FUNCTION(xml_set_external_entity_ref_handler)
{
@@ -1277,7 +1277,7 @@
}
/* }}} */
-/* {{{ proto int xml_set_start_namespace_decl_handler(int pind, string hdl)
+/* {{{ proto int xml_set_start_namespace_decl_handler(resource parser, string hdl)
Set up character data handler */
PHP_FUNCTION(xml_set_start_namespace_decl_handler)
{
@@ -1296,7 +1296,7 @@
}
/* }}} */
-/* {{{ proto int xml_set_end_namespace_decl_handler(int pind, string hdl)
+/* {{{ proto int xml_set_end_namespace_decl_handler(resource parser, string hdl)
Set up character data handler */
PHP_FUNCTION(xml_set_end_namespace_decl_handler)
{
@@ -1315,7 +1315,7 @@
}
/* }}} */
-/* {{{ proto int xml_parse(int pind, string data [, int isFinal])
+/* {{{ proto int xml_parse(resource parser, string data [, int isFinal])
Start parsing an XML document */
PHP_FUNCTION(xml_parse)
{
@@ -1344,7 +1344,7 @@
/* }}} */
-/* {{{ proto int xml_parse_into_struct(int pind, string data, array &struct, array &index)
+/* {{{ proto int xml_parse_into_struct(resource parser, string data, array &struct, array
&index)
Parsing a XML document */
PHP_FUNCTION(xml_parse_into_struct)
@@ -1383,7 +1383,7 @@
}
/* }}} */
-/* {{{ proto int xml_get_error_code(int pind)
+/* {{{ proto int xml_get_error_code(resource parser)
Get XML parser error code */
PHP_FUNCTION(xml_get_error_code)
{
@@ -1417,7 +1417,7 @@
}
/* }}} */
-/* {{{ proto int xml_get_current_line_number(int pind)
+/* {{{ proto int xml_get_current_line_number(resource parser)
Get current line number for an XML parser */
PHP_FUNCTION(xml_get_current_line_number)
{
@@ -1433,7 +1433,7 @@
}
/* }}} */
-/* {{{ proto int xml_get_current_column_number(int pind)
+/* {{{ proto int xml_get_current_column_number(resource parser)
Get current column number for an XML parser */
PHP_FUNCTION(xml_get_current_column_number)
{
@@ -1449,7 +1449,7 @@
}
/* }}} */
-/* {{{ proto int xml_get_current_byte_index(int pind)
+/* {{{ proto int xml_get_current_byte_index(resource parser)
Get current byte index for an XML parser */
PHP_FUNCTION(xml_get_current_byte_index)
{
@@ -1465,7 +1465,7 @@
}
/* }}} */
-/* {{{ proto int xml_parser_free(int pind)
+/* {{{ proto int xml_parser_free(resource parser)
Free an XML parser */
PHP_FUNCTION(xml_parser_free)
{
@@ -1486,7 +1486,7 @@
}
/* }}} */
-/* {{{ proto int xml_parser_set_option(int pind, int option, mixed value)
+/* {{{ proto int xml_parser_set_option(resource parser, int option, mixed value)
Set options in an XML parser */
PHP_FUNCTION(xml_parser_set_option)
{
@@ -1535,7 +1535,7 @@
}
/* }}} */
-/* {{{ proto int xml_parser_get_option(int pind, int option)
+/* {{{ proto int xml_parser_get_option(resource parser, int option)
Get options from an XML parser */
PHP_FUNCTION(xml_parser_get_option)
{