xref: /PHP-7.1/ext/dom/dom_properties.h (revision ccd4716e)
1 /*
2    +----------------------------------------------------------------------+
3    | PHP Version 7                                                        |
4    +----------------------------------------------------------------------+
5    | Copyright (c) 1997-2018 The PHP Group                                |
6    +----------------------------------------------------------------------+
7    | This source file is subject to version 3.01 of the PHP license,      |
8    | that is bundled with this package in the file LICENSE, and is        |
9    | available through the world-wide-web at the following url:           |
10    | http://www.php.net/license/3_01.txt                                  |
11    | If you did not receive a copy of the PHP license and are unable to   |
12    | obtain it through the world-wide-web, please send a note to          |
13    | license@php.net so we can mail you a copy immediately.               |
14    +----------------------------------------------------------------------+
15    | Authors: Christian Stocker <chregu@php.net>                          |
16    |          Rob Richards <rrichards@php.net>                            |
17    +----------------------------------------------------------------------+
18 */
19 
20 /* $Id$ */
21 #ifndef DOM_PROPERTIES_H
22 #define DOM_PROPERTIES_H
23 
24 /* attr properties */
25 int dom_attr_name_read(dom_object *obj, zval *retval);
26 int dom_attr_specified_read(dom_object *obj, zval *retval);
27 int dom_attr_value_read(dom_object *obj, zval *retval);
28 int dom_attr_value_write(dom_object *obj, zval *newval);
29 int dom_attr_owner_element_read(dom_object *obj, zval *retval);
30 int dom_attr_schema_type_info_read(dom_object *obj, zval *retval);
31 
32 /* characterdata properties */
33 int dom_characterdata_data_read(dom_object *obj, zval *retval);
34 int dom_characterdata_data_write(dom_object *obj, zval *newval);
35 int dom_characterdata_length_read(dom_object *obj, zval *retval);
36 
37 /* document properties */
38 int dom_document_doctype_read(dom_object *obj, zval *retval);
39 int dom_document_implementation_read(dom_object *obj, zval *retval);
40 int dom_document_document_element_read(dom_object *obj, zval *retval);
41 int dom_document_actual_encoding_read(dom_object *obj, zval *retval);
42 int dom_document_actual_encoding_write(dom_object *obj, zval *newval);
43 int dom_document_encoding_read(dom_object *obj, zval *retval);
44 int dom_document_encoding_write(dom_object *obj, zval *newval);
45 int dom_document_standalone_read(dom_object *obj, zval *retval);
46 int dom_document_standalone_write(dom_object *obj, zval *newval);
47 int dom_document_version_read(dom_object *obj, zval *retval);
48 int dom_document_version_write(dom_object *obj, zval *newval);
49 int dom_document_strict_error_checking_read(dom_object *obj, zval *retval);
50 int dom_document_strict_error_checking_write(dom_object *obj, zval *newval);
51 int dom_document_document_uri_read(dom_object *obj, zval *retval);
52 int dom_document_document_uri_write(dom_object *obj, zval *newval);
53 int dom_document_config_read(dom_object *obj, zval *retval);
54 int dom_document_format_output_read(dom_object *obj, zval *retval);
55 int dom_document_format_output_write(dom_object *obj, zval *newval);
56 int	dom_document_validate_on_parse_read(dom_object *obj, zval *retval);
57 int dom_document_validate_on_parse_write(dom_object *obj, zval *newval);
58 int dom_document_resolve_externals_read(dom_object *obj, zval *retval);
59 int dom_document_resolve_externals_write(dom_object *obj, zval *newval);
60 int dom_document_preserve_whitespace_read(dom_object *obj, zval *retval);
61 int dom_document_preserve_whitespace_write(dom_object *obj, zval *newval);
62 int dom_document_recover_read(dom_object *obj, zval *retval);
63 int dom_document_recover_write(dom_object *obj, zval *newval);
64 int dom_document_substitue_entities_read(dom_object *obj, zval *retval);
65 int dom_document_substitue_entities_write(dom_object *obj, zval *newval);
66 
67 /* documenttype properties */
68 int dom_documenttype_name_read(dom_object *obj, zval *retval);
69 int dom_documenttype_entities_read(dom_object *obj, zval *retval);
70 int dom_documenttype_notations_read(dom_object *obj, zval *retval);
71 int dom_documenttype_public_id_read(dom_object *obj, zval *retval);
72 int dom_documenttype_system_id_read(dom_object *obj, zval *retval);
73 int dom_documenttype_internal_subset_read(dom_object *obj, zval *retval);
74 
75 /* domerror properties */
76 int dom_domerror_severity_read(dom_object *obj, zval *retval);
77 int dom_domerror_message_read(dom_object *obj, zval *retval);
78 int dom_domerror_type_read(dom_object *obj, zval *retval);
79 int dom_domerror_related_exception_read(dom_object *obj, zval *retval);
80 int dom_domerror_related_data_read(dom_object *obj, zval *retval);
81 int dom_domerror_location_read(dom_object *obj, zval *retval);
82 
83 /* domimplementationlist properties */
84 int dom_domimplementationlist_length_read(dom_object *obj, zval *retval);
85 
86 /* domlocator properties */
87 int dom_domlocator_line_number_read(dom_object *obj, zval *retval);
88 int dom_domlocator_column_number_read(dom_object *obj, zval *retval);
89 int dom_domlocator_offset_read(dom_object *obj, zval *retval);
90 int dom_domlocator_related_node_read(dom_object *obj, zval *retval);
91 int dom_domlocator_uri_read(dom_object *obj, zval *retval);
92 
93 /* domstringlist properties */
94 int dom_domstringlist_length_read(dom_object *obj, zval *retval);
95 
96 /* element properties */
97 int dom_element_tag_name_read(dom_object *obj, zval *retval);
98 int dom_element_schema_type_info_read(dom_object *obj, zval *retval);
99 
100 /* entity properties */
101 int dom_entity_public_id_read(dom_object *obj, zval *retval);
102 int dom_entity_system_id_read(dom_object *obj, zval *retval);
103 int dom_entity_notation_name_read(dom_object *obj, zval *retval);
104 int dom_entity_actual_encoding_read(dom_object *obj, zval *retval);
105 int dom_entity_actual_encoding_write(dom_object *obj, zval *newval);
106 int dom_entity_encoding_read(dom_object *obj, zval *retval);
107 int dom_entity_encoding_write(dom_object *obj, zval *newval);
108 int dom_entity_version_read(dom_object *obj, zval *retval);
109 int dom_entity_version_write(dom_object *obj, zval *newval);
110 
111 /* namednodemap properties */
112 int dom_namednodemap_length_read(dom_object *obj, zval *retval);
113 
114 /* namelist properties */
115 int dom_namelist_length_read(dom_object *obj, zval *retval);
116 
117 /* node properties */
118 int dom_node_node_name_read(dom_object *obj, zval *retval);
119 int dom_node_node_value_read(dom_object *obj, zval *retval);
120 int dom_node_node_value_write(dom_object *obj, zval *newval);
121 int dom_node_node_type_read(dom_object *obj, zval *retval);
122 int dom_node_parent_node_read(dom_object *obj, zval *retval);
123 int dom_node_child_nodes_read(dom_object *obj, zval *retval);
124 int dom_node_first_child_read(dom_object *obj, zval *retval);
125 int dom_node_last_child_read(dom_object *obj, zval *retval);
126 int dom_node_previous_sibling_read(dom_object *obj, zval *retval);
127 int dom_node_next_sibling_read(dom_object *obj, zval *retval);
128 int dom_node_attributes_read(dom_object *obj, zval *retval);
129 int dom_node_owner_document_read(dom_object *obj, zval *retval);
130 int dom_node_namespace_uri_read(dom_object *obj, zval *retval);
131 int dom_node_prefix_read(dom_object *obj, zval *retval);
132 int dom_node_prefix_write(dom_object *obj, zval *newval);
133 int dom_node_local_name_read(dom_object *obj, zval *retval);
134 int dom_node_base_uri_read(dom_object *obj, zval *retval);
135 int dom_node_text_content_read(dom_object *obj, zval *retval);
136 int dom_node_text_content_write(dom_object *obj, zval *newval);
137 
138 /* nodelist properties */
139 int dom_nodelist_length_read(dom_object *obj, zval *retval);
140 xmlNodePtr dom_nodelist_xml_item(dom_nnodemap_object *objmap, long index);
141 xmlNodePtr dom_nodelist_baseobj_item(dom_nnodemap_object *objmap, long index);
142 
143 /* notation properties */
144 int dom_notation_public_id_read(dom_object *obj, zval *retval);
145 int dom_notation_system_id_read(dom_object *obj, zval *retval);
146 
147 /* processinginstruction properties */
148 int dom_processinginstruction_target_read(dom_object *obj, zval *retval);
149 int dom_processinginstruction_data_read(dom_object *obj, zval *retval);
150 int dom_processinginstruction_data_write(dom_object *obj, zval *newval);
151 
152 /* text properties */
153 int dom_text_whole_text_read(dom_object *obj, zval *retval);
154 
155 /* typeinfo properties */
156 int dom_typeinfo_type_name_read(dom_object *obj, zval *retval);
157 int dom_typeinfo_type_namespace_read(dom_object *obj, zval *retval);
158 
159 #if defined(LIBXML_XPATH_ENABLED)
160 /* xpath properties */
161 int dom_xpath_document_read(dom_object *obj, zval *retval);
162 #endif
163 
164 #endif /* DOM_PROPERTIERS_H */
165 
166 /*
167  * Local variables:
168  * tab-width: 4
169  * c-basic-offset: 4
170  * End:
171  * vim600: noet sw=4 ts=4 fdm=marker
172  * vim<600: noet sw=4 ts=4
173  */
174