PHP_FUNCTION(ldap_delete);
PHP_FUNCTION(ldap_modify);
+PHP_FUNCTION(ldap_mod_add);
+PHP_FUNCTION(ldap_mod_replace);
+PHP_FUNCTION(ldap_mod_del);
+
typedef struct {
long default_link;
long num_links, max_links;
+----------------------------------------------------------------------+
*/
-/* $Id */
+/* $Id$ */
#if HAVE_LIBEXPAT
# ifndef _PHP_XML_H
char *notationDeclHandler;
char *externalEntityRefHandler;
char *unknownEncodingHandler;
+
+ pval *data;
+ pval *info;
+ int level;
+ int toffset;
+ int curtag;
+ pval *ctag;
+ char **ltags;
+ int lastwasopen;
+ int skipwhite;
+
XML_Char *baseURI;
} xml_parser;
typedef struct {
XML_Char *name;
char (*decoding_function)(unsigned short);
- unsigned short (*encoding_function)(char);
+ unsigned short (*encoding_function)(unsigned char);
} xml_encoding;
# define xml_module_ptr &xml_module_entry
enum php3_xml_option {
- PHP3_XML_OPTION_CASE_FOLDING,
- PHP3_XML_OPTION_TARGET_ENCODING
+ PHP3_XML_OPTION_CASE_FOLDING = 1,
+ PHP3_XML_OPTION_TARGET_ENCODING,
+ PHP3_XML_OPTION_SKIP_TAGSTART,
+ PHP3_XML_OPTION_SKIP_WHITE
};
# define RETURN_OUT_OF_MEMORY \
php3_error(E_WARNING, "Out of memory");\
RETURN_FALSE
+/* for xml_parse_into_struct */
+
+#define XML_MAXLEVEL 255 /* XXX this should be dynamic */
+
PHP_FUNCTION(xml_parser_create);
PHP_FUNCTION(xml_set_element_handler);
PHP_FUNCTION(xml_set_character_data_handler);
PHP_FUNCTION(xml_parser_get_option);
PHP_FUNCTION(utf8_encode);
PHP_FUNCTION(utf8_decode);
+PHP_FUNCTION(xml_parse_into_struct);
#else /* !HAVE_LIBEXPAT */