zeev            Sun Dec 18 16:00:02 2005 EDT

  Modified files:              
    /php-src/ext/xmlreader      php_xmlreader.c 
  Log:
  Fix prototypes (MFB)
  
  
http://cvs.php.net/viewcvs.cgi/php-src/ext/xmlreader/php_xmlreader.c?r1=1.20&r2=1.21&diff_format=u
Index: php-src/ext/xmlreader/php_xmlreader.c
diff -u php-src/ext/xmlreader/php_xmlreader.c:1.20 
php-src/ext/xmlreader/php_xmlreader.c:1.21
--- php-src/ext/xmlreader/php_xmlreader.c:1.20  Fri Nov 25 15:40:14 2005
+++ php-src/ext/xmlreader/php_xmlreader.c       Sun Dec 18 16:00:02 2005
@@ -16,7 +16,7 @@
   +----------------------------------------------------------------------+
 */
 
-/* $Id: php_xmlreader.c,v 1.20 2005/11/25 15:40:14 sniper Exp $ */
+/* $Id: php_xmlreader.c,v 1.21 2005/12/18 16:00:02 zeev Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -489,7 +489,7 @@
 #endif
 }
 
-/* {{{ proto boolean close()
+/* {{{ proto boolean XMLReader::close()
 Closes xmlreader - current frees resources until xmlTextReaderClose is fixed 
in libxml */
 PHP_METHOD(xmlreader, close)
 {
@@ -506,7 +506,7 @@
        RETURN_TRUE;
 }
 
-/* {{{ proto string getAttribute(string name)
+/* {{{ proto string XMLReader::getAttribute(string name)
 Get value of an attribute from current element */
 PHP_METHOD(xmlreader, getAttribute)
 {
@@ -514,7 +514,7 @@
 }
 /* }}} */
 
-/* {{{ proto string getAttributeNo(int index)
+/* {{{ proto string XMLReader::getAttributeNo(int index)
 Get value of an attribute at index from current element */
 PHP_METHOD(xmlreader, getAttributeNo)
 {
@@ -543,7 +543,7 @@
 }
 /* }}} */
 
-/* {{{ proto string getAttributeNs(string name, string namespaceURI)
+/* {{{ proto string XMLReader::getAttributeNs(string name, string namespaceURI)
 Get value of a attribute via name and namespace from current element */
 PHP_METHOD(xmlreader, getAttributeNs)
 {
@@ -577,7 +577,7 @@
 }
 /* }}} */
 
-/* {{{ proto boolean getParserProperty(int property)
+/* {{{ proto boolean XMLReader::getParserProperty(int property)
 Indicates wether given property (one of the parser option constants) is set or 
not on parser */
 PHP_METHOD(xmlreader, getParserProperty)
 {
@@ -605,7 +605,7 @@
 }
 /* }}} */
 
-/* {{{ proto boolean isValid()
+/* {{{ proto boolean XMLReader::isValid()
 Returns boolean indicating if parsed document is valid or not.
 Must set XMLREADER_LOADDTD or XMLREADER_VALIDATE parser option prior to the 
first call to read 
 or this method will always return FALSE */
@@ -615,7 +615,7 @@
 }
 /* }}} */
 
-/* {{{ proto string lookupNamespace(string prefix)
+/* {{{ proto string XMLReader::lookupNamespace(string prefix)
 Return namespaceURI for associated prefix on current node */
 PHP_METHOD(xmlreader, lookupNamespace)
 {
@@ -623,7 +623,7 @@
 }
 /* }}} */
 
-/* {{{ proto boolean moveToAttribute(string name)
+/* {{{ proto boolean XMLReader::moveToAttribute(string name)
 Positions reader at specified attribute - Returns TRUE on success and FALSE on 
failure */
 PHP_METHOD(xmlreader, moveToAttribute)
 {
@@ -655,7 +655,7 @@
 }
 /* }}} */
 
-/* {{{ proto boolean moveToAttributeNo(int index)
+/* {{{ proto boolean XMLReader::moveToAttributeNo(int index)
 Positions reader at attribute at spcecified index.
 Returns TRUE on success and FALSE on failure */
 PHP_METHOD(xmlreader, moveToAttributeNo)
@@ -683,7 +683,7 @@
 }
 /* }}} */
 
-/* {{{ proto boolean moveToAttributeNs(string name, string namespaceURI)
+/* {{{ proto boolean XMLReader::moveToAttributeNs(string name, string 
namespaceURI)
 Positions reader at attribute spcified by name and namespaceURI.
 Returns TRUE on success and FALSE on failure */
 PHP_METHOD(xmlreader, moveToAttributeNs)
@@ -716,7 +716,7 @@
 }
 /* }}} */
 
-/* {{{ proto boolean moveToElement()
+/* {{{ proto boolean XMLReader::moveToElement()
 Moves the position of the current instance to the node that contains the 
current Attribute node. */
 PHP_METHOD(xmlreader, moveToElement)
 {
@@ -724,7 +724,7 @@
 }
 /* }}} */
 
-/* {{{ proto boolean moveToFirstAttribute()
+/* {{{ proto boolean XMLReader::moveToFirstAttribute()
 Moves the position of the current instance to the first attribute associated 
with the current node. */
 PHP_METHOD(xmlreader, moveToFirstAttribute)
 {
@@ -732,7 +732,7 @@
 }
 /* }}} */
 
-/* {{{ proto boolean moveToNextAttribute()
+/* {{{ proto boolean XMLReader::moveToNextAttribute()
 Moves the position of the current instance to the next attribute associated 
with the current node. */
 PHP_METHOD(xmlreader, moveToNextAttribute)
 {
@@ -740,7 +740,7 @@
 }
 /* }}} */
 
-/* {{{ proto boolean read()
+/* {{{ proto boolean XMLReader::read()
 Moves the position of the current instance to the next node in the stream. */
 PHP_METHOD(xmlreader, read)
 {
@@ -765,7 +765,7 @@
 }
 /* }}} */
 
-/* {{{ proto boolean next([string localname])
+/* {{{ proto boolean XMLReader::next([string localname])
 Moves the position of the current instance to the next node in the stream. */
 PHP_METHOD(xmlreader, next)
 {
@@ -807,7 +807,7 @@
 }
 /* }}} */
 
-/* {{{ proto boolean open(string URI [, string encoding [, int options]])
+/* {{{ proto boolean XMLReader::open(string URI [, string encoding [, int 
options]])
 Sets the URI that the the XMLReader will parse. */
 PHP_METHOD(xmlreader, open)
 {
@@ -889,7 +889,7 @@
 }
 #endif
 
-/* {{{ proto boolean setParserProperty(int property, boolean value)
+/* {{{ proto boolean XMLReader::setParserProperty(int property, boolean value)
 Sets parser property (one of the parser option constants).
 Properties must be set after open() or XML() and before the first read() is 
called */
 PHP_METHOD(xmlreader, setParserProperty)
@@ -919,7 +919,7 @@
 }
 /* }}} */
 
-/* {{{ proto boolean setRelaxNGSchemaSource(string filename)
+/* {{{ proto boolean XMLReader::setRelaxNGSchemaSource(string filename)
 Sets the string that the the XMLReader will parse. */
 PHP_METHOD(xmlreader, setRelaxNGSchema)
 {
@@ -927,7 +927,7 @@
 }
 /* }}} */
 
-/* {{{ proto boolean setRelaxNGSchemaSource(string source)
+/* {{{ proto boolean XMLReader::setRelaxNGSchemaSource(string source)
 Sets the string that the the XMLReader will parse. */
 PHP_METHOD(xmlreader, setRelaxNGSchemaSource)
 {
@@ -944,7 +944,7 @@
                                                 xmlSchemaPtr schema);
 */
 
-/* {{{ proto boolean XML(string source [, string encoding [, int options]])
+/* {{{ proto boolean XMLReader::XML(string source [, string encoding [, int 
options]])
 Sets the string that the the XMLReader will parse. */
 PHP_METHOD(xmlreader, XML)
 {
@@ -1013,7 +1013,7 @@
 }
 /* }}} */
 
-/* {{{ proto boolean expand()
+/* {{{ proto boolean XMLReader::expand()
 Moves the position of the current instance to the next node in the stream. */
 PHP_METHOD(xmlreader, expand)
 {

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to