xref: /PHP-8.1/ext/oci8/oci8_arginfo.h (revision d9e5e630)
1 /* This is a generated file, edit the .stub.php file instead.
2  * Stub hash: 46ee8ce62b36639636b4f5126e20a4b4e1df2e25 */
3 
4 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_define_by_name, 0, 3, _IS_BOOL, 0)
5 	ZEND_ARG_INFO(0, statement)
6 	ZEND_ARG_TYPE_INFO(0, column, IS_STRING, 0)
7 	ZEND_ARG_TYPE_INFO(1, var, IS_MIXED, 0)
8 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, type, IS_LONG, 0, "0")
9 ZEND_END_ARG_INFO()
10 
11 #define arginfo_ocidefinebyname arginfo_oci_define_by_name
12 
13 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_bind_by_name, 0, 3, _IS_BOOL, 0)
14 	ZEND_ARG_INFO(0, statement)
15 	ZEND_ARG_TYPE_INFO(0, param, IS_STRING, 0)
16 	ZEND_ARG_TYPE_INFO(1, var, IS_MIXED, 0)
17 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, max_length, IS_LONG, 0, "-1")
18 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, type, IS_LONG, 0, "0")
19 ZEND_END_ARG_INFO()
20 
21 #define arginfo_ocibindbyname arginfo_oci_bind_by_name
22 
23 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_bind_array_by_name, 0, 4, _IS_BOOL, 0)
24 	ZEND_ARG_INFO(0, statement)
25 	ZEND_ARG_TYPE_INFO(0, param, IS_STRING, 0)
26 	ZEND_ARG_INFO(1, var)
27 	ZEND_ARG_TYPE_INFO(0, max_array_length, IS_LONG, 0)
28 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, max_item_length, IS_LONG, 0, "-1")
29 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, type, IS_LONG, 0, "SQLT_AFC")
30 ZEND_END_ARG_INFO()
31 
32 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_free_descriptor, 0, 1, _IS_BOOL, 0)
33 	ZEND_ARG_OBJ_INFO(0, lob, OCILob, 0)
34 ZEND_END_ARG_INFO()
35 
36 #define arginfo_ocifreedesc arginfo_oci_free_descriptor
37 
38 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_lob_save, 0, 2, _IS_BOOL, 0)
39 	ZEND_ARG_OBJ_INFO(0, lob, OCILob, 0)
40 	ZEND_ARG_TYPE_INFO(0, data, IS_STRING, 0)
41 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, offset, IS_LONG, 0, "0")
42 ZEND_END_ARG_INFO()
43 
44 #define arginfo_ocisavelob arginfo_oci_lob_save
45 
46 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_lob_import, 0, 2, _IS_BOOL, 0)
47 	ZEND_ARG_OBJ_INFO(0, lob, OCILob, 0)
48 	ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
49 ZEND_END_ARG_INFO()
50 
51 #define arginfo_ocisavelobfile arginfo_oci_lob_import
52 
53 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_oci_lob_load, 0, 1, MAY_BE_STRING|MAY_BE_FALSE)
54 	ZEND_ARG_OBJ_INFO(0, lob, OCILob, 0)
55 ZEND_END_ARG_INFO()
56 
57 #define arginfo_ociloadlob arginfo_oci_lob_load
58 
59 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_oci_lob_read, 0, 2, MAY_BE_STRING|MAY_BE_FALSE)
60 	ZEND_ARG_OBJ_INFO(0, lob, OCILob, 0)
61 	ZEND_ARG_TYPE_INFO(0, length, IS_LONG, 0)
62 ZEND_END_ARG_INFO()
63 
64 #define arginfo_oci_lob_eof arginfo_oci_free_descriptor
65 
66 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_oci_lob_tell, 0, 1, MAY_BE_LONG|MAY_BE_FALSE)
67 	ZEND_ARG_OBJ_INFO(0, lob, OCILob, 0)
68 ZEND_END_ARG_INFO()
69 
70 #define arginfo_oci_lob_rewind arginfo_oci_free_descriptor
71 
72 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_lob_seek, 0, 2, _IS_BOOL, 0)
73 	ZEND_ARG_OBJ_INFO(0, lob, OCILob, 0)
74 	ZEND_ARG_TYPE_INFO(0, offset, IS_LONG, 0)
75 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, whence, IS_LONG, 0, "OCI_SEEK_SET")
76 ZEND_END_ARG_INFO()
77 
78 #define arginfo_oci_lob_size arginfo_oci_lob_tell
79 
80 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_oci_lob_write, 0, 2, MAY_BE_LONG|MAY_BE_FALSE)
81 	ZEND_ARG_OBJ_INFO(0, lob, OCILob, 0)
82 	ZEND_ARG_TYPE_INFO(0, data, IS_STRING, 0)
83 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, length, IS_LONG, 1, "null")
84 ZEND_END_ARG_INFO()
85 
86 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_lob_append, 0, 2, _IS_BOOL, 0)
87 	ZEND_ARG_OBJ_INFO(0, to, OCILob, 0)
88 	ZEND_ARG_OBJ_INFO(0, from, OCILob, 0)
89 ZEND_END_ARG_INFO()
90 
91 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_lob_truncate, 0, 1, _IS_BOOL, 0)
92 	ZEND_ARG_OBJ_INFO(0, lob, OCILob, 0)
93 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, length, IS_LONG, 0, "0")
94 ZEND_END_ARG_INFO()
95 
96 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_oci_lob_erase, 0, 1, MAY_BE_LONG|MAY_BE_FALSE)
97 	ZEND_ARG_OBJ_INFO(0, lob, OCILob, 0)
98 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, offset, IS_LONG, 1, "null")
99 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, length, IS_LONG, 1, "null")
100 ZEND_END_ARG_INFO()
101 
102 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_lob_flush, 0, 1, _IS_BOOL, 0)
103 	ZEND_ARG_OBJ_INFO(0, lob, OCILob, 0)
104 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, flag, IS_LONG, 0, "0")
105 ZEND_END_ARG_INFO()
106 
107 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_ocisetbufferinglob, 0, 2, _IS_BOOL, 0)
108 	ZEND_ARG_OBJ_INFO(0, lob, OCILob, 0)
109 	ZEND_ARG_TYPE_INFO(0, mode, _IS_BOOL, 0)
110 ZEND_END_ARG_INFO()
111 
112 #define arginfo_ocigetbufferinglob arginfo_oci_free_descriptor
113 
114 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_lob_copy, 0, 2, _IS_BOOL, 0)
115 	ZEND_ARG_OBJ_INFO(0, to, OCILob, 0)
116 	ZEND_ARG_OBJ_INFO(0, from, OCILob, 0)
117 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, length, IS_LONG, 1, "null")
118 ZEND_END_ARG_INFO()
119 
120 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_lob_is_equal, 0, 2, _IS_BOOL, 0)
121 	ZEND_ARG_OBJ_INFO(0, lob1, OCILob, 0)
122 	ZEND_ARG_OBJ_INFO(0, lob2, OCILob, 0)
123 ZEND_END_ARG_INFO()
124 
125 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_lob_export, 0, 2, _IS_BOOL, 0)
126 	ZEND_ARG_OBJ_INFO(0, lob, OCILob, 0)
127 	ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
128 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, offset, IS_LONG, 1, "null")
129 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, length, IS_LONG, 1, "null")
130 ZEND_END_ARG_INFO()
131 
132 #define arginfo_ociwritelobtofile arginfo_oci_lob_export
133 
134 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_oci_new_descriptor, 0, 1, OCILob, 1)
135 	ZEND_ARG_INFO(0, connection)
136 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, type, IS_LONG, 0, "OCI_DTYPE_LOB")
137 ZEND_END_ARG_INFO()
138 
139 #define arginfo_ocinewdescriptor arginfo_oci_new_descriptor
140 
141 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_rollback, 0, 1, _IS_BOOL, 0)
142 	ZEND_ARG_INFO(0, connection)
143 ZEND_END_ARG_INFO()
144 
145 #define arginfo_ocirollback arginfo_oci_rollback
146 
147 #define arginfo_oci_commit arginfo_oci_rollback
148 
149 #define arginfo_ocicommit arginfo_oci_rollback
150 
151 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_oci_field_name, 0, 2, MAY_BE_STRING|MAY_BE_FALSE)
152 	ZEND_ARG_INFO(0, statement)
153 	ZEND_ARG_TYPE_MASK(0, column, MAY_BE_STRING|MAY_BE_LONG, NULL)
154 ZEND_END_ARG_INFO()
155 
156 #define arginfo_ocicolumnname arginfo_oci_field_name
157 
158 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_oci_field_size, 0, 2, MAY_BE_LONG|MAY_BE_FALSE)
159 	ZEND_ARG_INFO(0, statement)
160 	ZEND_ARG_TYPE_MASK(0, column, MAY_BE_STRING|MAY_BE_LONG, NULL)
161 ZEND_END_ARG_INFO()
162 
163 #define arginfo_ocicolumnsize arginfo_oci_field_size
164 
165 #define arginfo_oci_field_scale arginfo_oci_field_size
166 
167 #define arginfo_ocicolumnscale arginfo_oci_field_size
168 
169 #define arginfo_oci_field_precision arginfo_oci_field_size
170 
171 #define arginfo_ocicolumnprecision arginfo_oci_field_size
172 
173 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_oci_field_type, 0, 2, MAY_BE_STRING|MAY_BE_LONG|MAY_BE_FALSE)
174 	ZEND_ARG_INFO(0, statement)
175 	ZEND_ARG_TYPE_MASK(0, column, MAY_BE_STRING|MAY_BE_LONG, NULL)
176 ZEND_END_ARG_INFO()
177 
178 #define arginfo_ocicolumntype arginfo_oci_field_type
179 
180 #define arginfo_oci_field_type_raw arginfo_oci_field_size
181 
182 #define arginfo_ocicolumntyperaw arginfo_oci_field_size
183 
184 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_field_is_null, 0, 2, _IS_BOOL, 0)
185 	ZEND_ARG_INFO(0, statement)
186 	ZEND_ARG_TYPE_MASK(0, column, MAY_BE_STRING|MAY_BE_LONG, NULL)
187 ZEND_END_ARG_INFO()
188 
189 #define arginfo_ocicolumnisnull arginfo_oci_field_is_null
190 
191 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_execute, 0, 1, _IS_BOOL, 0)
192 	ZEND_ARG_INFO(0, statement)
193 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, mode, IS_LONG, 0, "OCI_COMMIT_ON_SUCCESS")
194 ZEND_END_ARG_INFO()
195 
196 #define arginfo_ociexecute arginfo_oci_execute
197 
198 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_cancel, 0, 1, _IS_BOOL, 0)
199 	ZEND_ARG_INFO(0, statement)
200 ZEND_END_ARG_INFO()
201 
202 #define arginfo_ocicancel arginfo_oci_cancel
203 
204 #define arginfo_oci_fetch arginfo_oci_cancel
205 
206 #define arginfo_ocifetch arginfo_oci_cancel
207 
208 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_ocifetchinto, 0, 2, MAY_BE_LONG|MAY_BE_FALSE)
209 	ZEND_ARG_INFO(0, statement)
210 	ZEND_ARG_INFO(1, result)
211 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, mode, IS_LONG, 0, "OCI_NUM")
212 ZEND_END_ARG_INFO()
213 
214 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_fetch_all, 0, 2, IS_LONG, 0)
215 	ZEND_ARG_INFO(0, statement)
216 	ZEND_ARG_INFO(1, output)
217 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, offset, IS_LONG, 0, "0")
218 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, limit, IS_LONG, 0, "-1")
219 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, flags, IS_LONG, 0, "OCI_FETCHSTATEMENT_BY_COLUMN | OCI_ASSOC")
220 ZEND_END_ARG_INFO()
221 
222 #define arginfo_ocifetchstatement arginfo_oci_fetch_all
223 
224 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_oci_fetch_object, 0, 1, stdClass, MAY_BE_FALSE)
225 	ZEND_ARG_INFO(0, statement)
226 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, mode, IS_LONG, 0, "OCI_ASSOC | OCI_RETURN_NULLS")
227 ZEND_END_ARG_INFO()
228 
229 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_oci_fetch_row, 0, 1, MAY_BE_ARRAY|MAY_BE_FALSE)
230 	ZEND_ARG_INFO(0, statement)
231 ZEND_END_ARG_INFO()
232 
233 #define arginfo_oci_fetch_assoc arginfo_oci_fetch_row
234 
235 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_oci_fetch_array, 0, 1, MAY_BE_ARRAY|MAY_BE_FALSE)
236 	ZEND_ARG_INFO(0, statement)
237 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, mode, IS_LONG, 0, "OCI_BOTH | OCI_RETURN_NULLS")
238 ZEND_END_ARG_INFO()
239 
240 #define arginfo_oci_free_statement arginfo_oci_cancel
241 
242 #define arginfo_ocifreestatement arginfo_oci_cancel
243 
244 #define arginfo_oci_free_cursor arginfo_oci_cancel
245 
246 #define arginfo_ocifreecursor arginfo_oci_cancel
247 
248 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_close, 0, 1, _IS_BOOL, 1)
249 	ZEND_ARG_INFO(0, connection)
250 ZEND_END_ARG_INFO()
251 
252 #define arginfo_ocilogoff arginfo_oci_close
253 
254 ZEND_BEGIN_ARG_INFO_EX(arginfo_oci_new_connect, 0, 0, 2)
255 	ZEND_ARG_TYPE_INFO(0, username, IS_STRING, 0)
256 	ZEND_ARG_TYPE_INFO(0, password, IS_STRING, 0)
257 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, connection_string, IS_STRING, 1, "null")
258 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, encoding, IS_STRING, 0, "\"\"")
259 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, session_mode, IS_LONG, 0, "OCI_DEFAULT")
260 ZEND_END_ARG_INFO()
261 
262 #define arginfo_ocinlogon arginfo_oci_new_connect
263 
264 #define arginfo_oci_connect arginfo_oci_new_connect
265 
266 #define arginfo_ocilogon arginfo_oci_new_connect
267 
268 #define arginfo_oci_pconnect arginfo_oci_new_connect
269 
270 #define arginfo_ociplogon arginfo_oci_new_connect
271 
272 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_oci_error, 0, 0, MAY_BE_ARRAY|MAY_BE_FALSE)
273 	ZEND_ARG_INFO_WITH_DEFAULT_VALUE(0, connection_or_statement, "null")
274 ZEND_END_ARG_INFO()
275 
276 #define arginfo_ocierror arginfo_oci_error
277 
278 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_num_fields, 0, 1, IS_LONG, 0)
279 	ZEND_ARG_INFO(0, statement)
280 ZEND_END_ARG_INFO()
281 
282 #define arginfo_ocinumcols arginfo_oci_num_fields
283 
284 ZEND_BEGIN_ARG_INFO_EX(arginfo_oci_parse, 0, 0, 2)
285 	ZEND_ARG_INFO(0, connection)
286 	ZEND_ARG_TYPE_INFO(0, sql, IS_STRING, 0)
287 ZEND_END_ARG_INFO()
288 
289 #define arginfo_ociparse arginfo_oci_parse
290 
291 ZEND_BEGIN_ARG_INFO_EX(arginfo_oci_get_implicit_resultset, 0, 0, 1)
292 	ZEND_ARG_INFO(0, statement)
293 ZEND_END_ARG_INFO()
294 
295 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_set_prefetch, 0, 2, _IS_BOOL, 0)
296 	ZEND_ARG_INFO(0, statement)
297 	ZEND_ARG_TYPE_INFO(0, rows, IS_LONG, 0)
298 ZEND_END_ARG_INFO()
299 
300 #define arginfo_ocisetprefetch arginfo_oci_set_prefetch
301 
302 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_set_client_identifier, 0, 2, _IS_BOOL, 0)
303 	ZEND_ARG_INFO(0, connection)
304 	ZEND_ARG_TYPE_INFO(0, client_id, IS_STRING, 0)
305 ZEND_END_ARG_INFO()
306 
307 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_set_edition, 0, 1, _IS_BOOL, 0)
308 	ZEND_ARG_TYPE_INFO(0, edition, IS_STRING, 0)
309 ZEND_END_ARG_INFO()
310 
311 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_set_module_name, 0, 2, _IS_BOOL, 0)
312 	ZEND_ARG_INFO(0, connection)
313 	ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
314 ZEND_END_ARG_INFO()
315 
316 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_set_action, 0, 2, _IS_BOOL, 0)
317 	ZEND_ARG_INFO(0, connection)
318 	ZEND_ARG_TYPE_INFO(0, action, IS_STRING, 0)
319 ZEND_END_ARG_INFO()
320 
321 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_set_client_info, 0, 2, _IS_BOOL, 0)
322 	ZEND_ARG_INFO(0, connection)
323 	ZEND_ARG_TYPE_INFO(0, client_info, IS_STRING, 0)
324 ZEND_END_ARG_INFO()
325 
326 #define arginfo_oci_set_db_operation arginfo_oci_set_action
327 
328 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_set_call_timeout, 0, 2, _IS_BOOL, 0)
329 	ZEND_ARG_INFO(0, connection)
330 	ZEND_ARG_TYPE_INFO(0, timeout, IS_LONG, 0)
331 ZEND_END_ARG_INFO()
332 
333 ZEND_BEGIN_ARG_INFO_EX(arginfo_oci_password_change, 0, 0, 4)
334 	ZEND_ARG_INFO(0, connection)
335 	ZEND_ARG_TYPE_INFO(0, username, IS_STRING, 0)
336 	ZEND_ARG_TYPE_INFO(0, old_password, IS_STRING, 0)
337 	ZEND_ARG_TYPE_INFO(0, new_password, IS_STRING, 0)
338 ZEND_END_ARG_INFO()
339 
340 #define arginfo_ocipasswordchange arginfo_oci_password_change
341 
342 ZEND_BEGIN_ARG_INFO_EX(arginfo_oci_new_cursor, 0, 0, 1)
343 	ZEND_ARG_INFO(0, connection)
344 ZEND_END_ARG_INFO()
345 
346 #define arginfo_ocinewcursor arginfo_oci_new_cursor
347 
348 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_result, 0, 2, IS_MIXED, 0)
349 	ZEND_ARG_INFO(0, statement)
350 	ZEND_ARG_TYPE_MASK(0, column, MAY_BE_STRING|MAY_BE_LONG, NULL)
351 ZEND_END_ARG_INFO()
352 
353 #define arginfo_ociresult arginfo_oci_result
354 
355 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_client_version, 0, 0, IS_STRING, 0)
356 ZEND_END_ARG_INFO()
357 
358 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_oci_server_version, 0, 1, MAY_BE_STRING|MAY_BE_FALSE)
359 	ZEND_ARG_INFO(0, connection)
360 ZEND_END_ARG_INFO()
361 
362 #define arginfo_ociserverversion arginfo_oci_server_version
363 
364 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_oci_statement_type, 0, 1, MAY_BE_STRING|MAY_BE_FALSE)
365 	ZEND_ARG_INFO(0, statement)
366 ZEND_END_ARG_INFO()
367 
368 #define arginfo_ocistatementtype arginfo_oci_statement_type
369 
370 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_oci_num_rows, 0, 1, MAY_BE_LONG|MAY_BE_FALSE)
371 	ZEND_ARG_INFO(0, statement)
372 ZEND_END_ARG_INFO()
373 
374 #define arginfo_ocirowcount arginfo_oci_num_rows
375 
376 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_free_collection, 0, 1, _IS_BOOL, 0)
377 	ZEND_ARG_OBJ_INFO(0, collection, OCICollection, 0)
378 ZEND_END_ARG_INFO()
379 
380 #define arginfo_ocifreecollection arginfo_oci_free_collection
381 
382 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_collection_append, 0, 2, _IS_BOOL, 0)
383 	ZEND_ARG_OBJ_INFO(0, collection, OCICollection, 0)
384 	ZEND_ARG_TYPE_INFO(0, value, IS_STRING, 0)
385 ZEND_END_ARG_INFO()
386 
387 #define arginfo_ocicollappend arginfo_oci_collection_append
388 
389 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_oci_collection_element_get, 0, 2, MAY_BE_STRING|MAY_BE_DOUBLE|MAY_BE_NULL|MAY_BE_FALSE)
390 	ZEND_ARG_OBJ_INFO(0, collection, OCICollection, 0)
391 	ZEND_ARG_TYPE_INFO(0, index, IS_LONG, 0)
392 ZEND_END_ARG_INFO()
393 
394 #define arginfo_ocicollgetelem arginfo_oci_collection_element_get
395 
396 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_collection_assign, 0, 2, _IS_BOOL, 0)
397 	ZEND_ARG_OBJ_INFO(0, to, OCICollection, 0)
398 	ZEND_ARG_OBJ_INFO(0, from, OCICollection, 0)
399 ZEND_END_ARG_INFO()
400 
401 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_collection_element_assign, 0, 3, _IS_BOOL, 0)
402 	ZEND_ARG_OBJ_INFO(0, collection, OCICollection, 0)
403 	ZEND_ARG_TYPE_INFO(0, index, IS_LONG, 0)
404 	ZEND_ARG_TYPE_INFO(0, value, IS_STRING, 0)
405 ZEND_END_ARG_INFO()
406 
407 #define arginfo_ocicollassignelem arginfo_oci_collection_element_assign
408 
409 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_oci_collection_size, 0, 1, MAY_BE_LONG|MAY_BE_FALSE)
410 	ZEND_ARG_OBJ_INFO(0, collection, OCICollection, 0)
411 ZEND_END_ARG_INFO()
412 
413 #define arginfo_ocicollsize arginfo_oci_collection_size
414 
415 #define arginfo_oci_collection_max arginfo_oci_collection_size
416 
417 #define arginfo_ocicollmax arginfo_oci_collection_size
418 
419 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_collection_trim, 0, 2, _IS_BOOL, 0)
420 	ZEND_ARG_OBJ_INFO(0, collection, OCICollection, 0)
421 	ZEND_ARG_TYPE_INFO(0, num, IS_LONG, 0)
422 ZEND_END_ARG_INFO()
423 
424 #define arginfo_ocicolltrim arginfo_oci_collection_trim
425 
426 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_oci_new_collection, 0, 2, OCICollection, MAY_BE_FALSE)
427 	ZEND_ARG_INFO(0, connection)
428 	ZEND_ARG_TYPE_INFO(0, type_name, IS_STRING, 0)
429 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, schema, IS_STRING, 1, "null")
430 ZEND_END_ARG_INFO()
431 
432 #define arginfo_ocinewcollection arginfo_oci_new_collection
433 
434 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_register_taf_callback, 0, 2, _IS_BOOL, 0)
435 	ZEND_ARG_INFO(0, connection)
436 	ZEND_ARG_TYPE_INFO(0, callback, IS_CALLABLE, 1)
437 ZEND_END_ARG_INFO()
438 
439 #define arginfo_oci_unregister_taf_callback arginfo_oci_rollback
440 
441 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_OCILob_save, 0, 1, _IS_BOOL, 0)
442 	ZEND_ARG_TYPE_INFO(0, data, IS_STRING, 0)
443 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, offset, IS_LONG, 0, "0")
444 ZEND_END_ARG_INFO()
445 
446 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_OCILob_import, 0, 1, _IS_BOOL, 0)
447 	ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
448 ZEND_END_ARG_INFO()
449 
450 #define arginfo_class_OCILob_saveFile arginfo_class_OCILob_import
451 
452 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_MASK_EX(arginfo_class_OCILob_load, 0, 0, MAY_BE_STRING|MAY_BE_FALSE)
453 ZEND_END_ARG_INFO()
454 
455 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_MASK_EX(arginfo_class_OCILob_read, 0, 1, MAY_BE_STRING|MAY_BE_FALSE)
456 	ZEND_ARG_TYPE_INFO(0, length, IS_LONG, 0)
457 ZEND_END_ARG_INFO()
458 
459 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_OCILob_eof, 0, 0, _IS_BOOL, 0)
460 ZEND_END_ARG_INFO()
461 
462 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_MASK_EX(arginfo_class_OCILob_tell, 0, 0, MAY_BE_LONG|MAY_BE_FALSE)
463 ZEND_END_ARG_INFO()
464 
465 #define arginfo_class_OCILob_rewind arginfo_class_OCILob_eof
466 
467 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_OCILob_seek, 0, 1, _IS_BOOL, 0)
468 	ZEND_ARG_TYPE_INFO(0, offset, IS_LONG, 0)
469 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, whence, IS_LONG, 0, "OCI_SEEK_SET")
470 ZEND_END_ARG_INFO()
471 
472 #define arginfo_class_OCILob_size arginfo_class_OCILob_tell
473 
474 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_MASK_EX(arginfo_class_OCILob_write, 0, 1, MAY_BE_LONG|MAY_BE_FALSE)
475 	ZEND_ARG_TYPE_INFO(0, data, IS_STRING, 0)
476 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, length, IS_LONG, 1, "null")
477 ZEND_END_ARG_INFO()
478 
479 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_OCILob_append, 0, 1, _IS_BOOL, 0)
480 	ZEND_ARG_OBJ_INFO(0, from, OCILob, 0)
481 ZEND_END_ARG_INFO()
482 
483 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_OCILob_truncate, 0, 0, _IS_BOOL, 0)
484 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, length, IS_LONG, 0, "0")
485 ZEND_END_ARG_INFO()
486 
487 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_MASK_EX(arginfo_class_OCILob_erase, 0, 0, MAY_BE_LONG|MAY_BE_FALSE)
488 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, offset, IS_LONG, 1, "null")
489 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, length, IS_LONG, 1, "null")
490 ZEND_END_ARG_INFO()
491 
492 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_OCILob_flush, 0, 0, _IS_BOOL, 0)
493 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, flag, IS_LONG, 0, "0")
494 ZEND_END_ARG_INFO()
495 
496 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_OCILob_setBuffering, 0, 1, _IS_BOOL, 0)
497 	ZEND_ARG_TYPE_INFO(0, mode, _IS_BOOL, 0)
498 ZEND_END_ARG_INFO()
499 
500 #define arginfo_class_OCILob_getBuffering arginfo_class_OCILob_eof
501 
502 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_OCILob_writeToFile, 0, 1, _IS_BOOL, 0)
503 	ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
504 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, offset, IS_LONG, 1, "null")
505 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, length, IS_LONG, 1, "null")
506 ZEND_END_ARG_INFO()
507 
508 #define arginfo_class_OCILob_export arginfo_class_OCILob_writeToFile
509 
510 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_OCILob_writeTemporary, 0, 1, _IS_BOOL, 0)
511 	ZEND_ARG_TYPE_INFO(0, data, IS_STRING, 0)
512 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, type, IS_LONG, 0, "OCI_TEMP_CLOB")
513 ZEND_END_ARG_INFO()
514 
515 #define arginfo_class_OCILob_close arginfo_class_OCILob_eof
516 
517 #define arginfo_class_OCILob_free arginfo_class_OCILob_eof
518 
519 #define arginfo_class_OCICollection_free arginfo_class_OCILob_eof
520 
521 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_OCICollection_append, 0, 1, _IS_BOOL, 0)
522 	ZEND_ARG_TYPE_INFO(0, value, IS_STRING, 0)
523 ZEND_END_ARG_INFO()
524 
525 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_MASK_EX(arginfo_class_OCICollection_getElem, 0, 1, MAY_BE_STRING|MAY_BE_DOUBLE|MAY_BE_NULL|MAY_BE_FALSE)
526 	ZEND_ARG_TYPE_INFO(0, index, IS_LONG, 0)
527 ZEND_END_ARG_INFO()
528 
529 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_OCICollection_assign, 0, 1, _IS_BOOL, 0)
530 	ZEND_ARG_OBJ_INFO(0, from, OCICollection, 0)
531 ZEND_END_ARG_INFO()
532 
533 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_OCICollection_assignElem, 0, 2, _IS_BOOL, 0)
534 	ZEND_ARG_TYPE_INFO(0, index, IS_LONG, 0)
535 	ZEND_ARG_TYPE_INFO(0, value, IS_STRING, 0)
536 ZEND_END_ARG_INFO()
537 
538 #define arginfo_class_OCICollection_size arginfo_class_OCILob_tell
539 
540 #define arginfo_class_OCICollection_max arginfo_class_OCILob_tell
541 
542 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_OCICollection_trim, 0, 1, _IS_BOOL, 0)
543 	ZEND_ARG_TYPE_INFO(0, num, IS_LONG, 0)
544 ZEND_END_ARG_INFO()
545 
546 
547 ZEND_FUNCTION(oci_define_by_name);
548 ZEND_FUNCTION(oci_bind_by_name);
549 ZEND_FUNCTION(oci_bind_array_by_name);
550 ZEND_FUNCTION(oci_free_descriptor);
551 ZEND_FUNCTION(oci_lob_save);
552 ZEND_FUNCTION(oci_lob_import);
553 ZEND_FUNCTION(oci_lob_load);
554 ZEND_FUNCTION(oci_lob_read);
555 ZEND_FUNCTION(oci_lob_eof);
556 ZEND_FUNCTION(oci_lob_tell);
557 ZEND_FUNCTION(oci_lob_rewind);
558 ZEND_FUNCTION(oci_lob_seek);
559 ZEND_FUNCTION(oci_lob_size);
560 ZEND_FUNCTION(oci_lob_write);
561 ZEND_FUNCTION(oci_lob_append);
562 ZEND_FUNCTION(oci_lob_truncate);
563 ZEND_FUNCTION(oci_lob_erase);
564 ZEND_FUNCTION(oci_lob_flush);
565 ZEND_FUNCTION(ocisetbufferinglob);
566 ZEND_FUNCTION(ocigetbufferinglob);
567 ZEND_FUNCTION(oci_lob_copy);
568 ZEND_FUNCTION(oci_lob_is_equal);
569 ZEND_FUNCTION(oci_lob_export);
570 ZEND_FUNCTION(oci_new_descriptor);
571 ZEND_FUNCTION(oci_rollback);
572 ZEND_FUNCTION(oci_commit);
573 ZEND_FUNCTION(oci_field_name);
574 ZEND_FUNCTION(oci_field_size);
575 ZEND_FUNCTION(oci_field_scale);
576 ZEND_FUNCTION(oci_field_precision);
577 ZEND_FUNCTION(oci_field_type);
578 ZEND_FUNCTION(oci_field_type_raw);
579 ZEND_FUNCTION(oci_field_is_null);
580 ZEND_FUNCTION(oci_execute);
581 ZEND_FUNCTION(oci_cancel);
582 ZEND_FUNCTION(oci_fetch);
583 ZEND_FUNCTION(ocifetchinto);
584 ZEND_FUNCTION(oci_fetch_all);
585 ZEND_FUNCTION(oci_fetch_object);
586 ZEND_FUNCTION(oci_fetch_row);
587 ZEND_FUNCTION(oci_fetch_assoc);
588 ZEND_FUNCTION(oci_fetch_array);
589 ZEND_FUNCTION(oci_free_statement);
590 ZEND_FUNCTION(oci_close);
591 ZEND_FUNCTION(oci_new_connect);
592 ZEND_FUNCTION(oci_connect);
593 ZEND_FUNCTION(oci_pconnect);
594 ZEND_FUNCTION(oci_error);
595 ZEND_FUNCTION(oci_num_fields);
596 ZEND_FUNCTION(oci_parse);
597 ZEND_FUNCTION(oci_get_implicit_resultset);
598 ZEND_FUNCTION(oci_set_prefetch);
599 ZEND_FUNCTION(oci_set_client_identifier);
600 ZEND_FUNCTION(oci_set_edition);
601 ZEND_FUNCTION(oci_set_module_name);
602 ZEND_FUNCTION(oci_set_action);
603 ZEND_FUNCTION(oci_set_client_info);
604 ZEND_FUNCTION(oci_set_db_operation);
605 ZEND_FUNCTION(oci_set_call_timeout);
606 ZEND_FUNCTION(oci_password_change);
607 ZEND_FUNCTION(oci_new_cursor);
608 ZEND_FUNCTION(oci_result);
609 ZEND_FUNCTION(oci_client_version);
610 ZEND_FUNCTION(oci_server_version);
611 ZEND_FUNCTION(oci_statement_type);
612 ZEND_FUNCTION(oci_num_rows);
613 ZEND_FUNCTION(oci_free_collection);
614 ZEND_FUNCTION(oci_collection_append);
615 ZEND_FUNCTION(oci_collection_element_get);
616 ZEND_FUNCTION(oci_collection_assign);
617 ZEND_FUNCTION(oci_collection_element_assign);
618 ZEND_FUNCTION(oci_collection_size);
619 ZEND_FUNCTION(oci_collection_max);
620 ZEND_FUNCTION(oci_collection_trim);
621 ZEND_FUNCTION(oci_new_collection);
622 ZEND_FUNCTION(oci_register_taf_callback);
623 ZEND_FUNCTION(oci_unregister_taf_callback);
624 ZEND_METHOD(OCILob, writeTemporary);
625 ZEND_METHOD(OCILob, close);
626 
627 
628 static const zend_function_entry ext_functions[] = {
629 	ZEND_FE(oci_define_by_name, arginfo_oci_define_by_name)
630 	ZEND_DEP_FALIAS(ocidefinebyname, oci_define_by_name, arginfo_ocidefinebyname)
631 	ZEND_FE(oci_bind_by_name, arginfo_oci_bind_by_name)
632 	ZEND_DEP_FALIAS(ocibindbyname, oci_bind_by_name, arginfo_ocibindbyname)
633 	ZEND_FE(oci_bind_array_by_name, arginfo_oci_bind_array_by_name)
634 	ZEND_FE(oci_free_descriptor, arginfo_oci_free_descriptor)
635 	ZEND_DEP_FALIAS(ocifreedesc, oci_free_descriptor, arginfo_ocifreedesc)
636 	ZEND_FE(oci_lob_save, arginfo_oci_lob_save)
637 	ZEND_DEP_FALIAS(ocisavelob, oci_lob_save, arginfo_ocisavelob)
638 	ZEND_FE(oci_lob_import, arginfo_oci_lob_import)
639 	ZEND_DEP_FALIAS(ocisavelobfile, oci_lob_import, arginfo_ocisavelobfile)
640 	ZEND_FE(oci_lob_load, arginfo_oci_lob_load)
641 	ZEND_DEP_FALIAS(ociloadlob, oci_lob_load, arginfo_ociloadlob)
642 	ZEND_FE(oci_lob_read, arginfo_oci_lob_read)
643 	ZEND_FE(oci_lob_eof, arginfo_oci_lob_eof)
644 	ZEND_FE(oci_lob_tell, arginfo_oci_lob_tell)
645 	ZEND_FE(oci_lob_rewind, arginfo_oci_lob_rewind)
646 	ZEND_FE(oci_lob_seek, arginfo_oci_lob_seek)
647 	ZEND_FE(oci_lob_size, arginfo_oci_lob_size)
648 	ZEND_FE(oci_lob_write, arginfo_oci_lob_write)
649 	ZEND_FE(oci_lob_append, arginfo_oci_lob_append)
650 	ZEND_FE(oci_lob_truncate, arginfo_oci_lob_truncate)
651 	ZEND_FE(oci_lob_erase, arginfo_oci_lob_erase)
652 	ZEND_FE(oci_lob_flush, arginfo_oci_lob_flush)
653 	ZEND_FE(ocisetbufferinglob, arginfo_ocisetbufferinglob)
654 	ZEND_FE(ocigetbufferinglob, arginfo_ocigetbufferinglob)
655 	ZEND_FE(oci_lob_copy, arginfo_oci_lob_copy)
656 	ZEND_FE(oci_lob_is_equal, arginfo_oci_lob_is_equal)
657 	ZEND_FE(oci_lob_export, arginfo_oci_lob_export)
658 	ZEND_DEP_FALIAS(ociwritelobtofile, oci_lob_export, arginfo_ociwritelobtofile)
659 	ZEND_FE(oci_new_descriptor, arginfo_oci_new_descriptor)
660 	ZEND_DEP_FALIAS(ocinewdescriptor, oci_new_descriptor, arginfo_ocinewdescriptor)
661 	ZEND_FE(oci_rollback, arginfo_oci_rollback)
662 	ZEND_DEP_FALIAS(ocirollback, oci_rollback, arginfo_ocirollback)
663 	ZEND_FE(oci_commit, arginfo_oci_commit)
664 	ZEND_DEP_FALIAS(ocicommit, oci_commit, arginfo_ocicommit)
665 	ZEND_FE(oci_field_name, arginfo_oci_field_name)
666 	ZEND_DEP_FALIAS(ocicolumnname, oci_field_name, arginfo_ocicolumnname)
667 	ZEND_FE(oci_field_size, arginfo_oci_field_size)
668 	ZEND_DEP_FALIAS(ocicolumnsize, oci_field_size, arginfo_ocicolumnsize)
669 	ZEND_FE(oci_field_scale, arginfo_oci_field_scale)
670 	ZEND_DEP_FALIAS(ocicolumnscale, oci_field_scale, arginfo_ocicolumnscale)
671 	ZEND_FE(oci_field_precision, arginfo_oci_field_precision)
672 	ZEND_DEP_FALIAS(ocicolumnprecision, oci_field_precision, arginfo_ocicolumnprecision)
673 	ZEND_FE(oci_field_type, arginfo_oci_field_type)
674 	ZEND_DEP_FALIAS(ocicolumntype, oci_field_type, arginfo_ocicolumntype)
675 	ZEND_FE(oci_field_type_raw, arginfo_oci_field_type_raw)
676 	ZEND_DEP_FALIAS(ocicolumntyperaw, oci_field_type_raw, arginfo_ocicolumntyperaw)
677 	ZEND_FE(oci_field_is_null, arginfo_oci_field_is_null)
678 	ZEND_DEP_FALIAS(ocicolumnisnull, oci_field_is_null, arginfo_ocicolumnisnull)
679 	ZEND_FE(oci_execute, arginfo_oci_execute)
680 	ZEND_DEP_FALIAS(ociexecute, oci_execute, arginfo_ociexecute)
681 	ZEND_FE(oci_cancel, arginfo_oci_cancel)
682 	ZEND_DEP_FALIAS(ocicancel, oci_cancel, arginfo_ocicancel)
683 	ZEND_FE(oci_fetch, arginfo_oci_fetch)
684 	ZEND_DEP_FALIAS(ocifetch, oci_fetch, arginfo_ocifetch)
685 	ZEND_DEP_FE(ocifetchinto, arginfo_ocifetchinto)
686 	ZEND_FE(oci_fetch_all, arginfo_oci_fetch_all)
687 	ZEND_DEP_FALIAS(ocifetchstatement, oci_fetch_all, arginfo_ocifetchstatement)
688 	ZEND_FE(oci_fetch_object, arginfo_oci_fetch_object)
689 	ZEND_FE(oci_fetch_row, arginfo_oci_fetch_row)
690 	ZEND_FE(oci_fetch_assoc, arginfo_oci_fetch_assoc)
691 	ZEND_FE(oci_fetch_array, arginfo_oci_fetch_array)
692 	ZEND_FE(oci_free_statement, arginfo_oci_free_statement)
693 	ZEND_DEP_FALIAS(ocifreestatement, oci_free_statement, arginfo_ocifreestatement)
694 	ZEND_FALIAS(oci_free_cursor, oci_free_statement, arginfo_oci_free_cursor)
695 	ZEND_DEP_FALIAS(ocifreecursor, oci_free_statement, arginfo_ocifreecursor)
696 	ZEND_FE(oci_close, arginfo_oci_close)
697 	ZEND_DEP_FALIAS(ocilogoff, oci_close, arginfo_ocilogoff)
698 	ZEND_FE(oci_new_connect, arginfo_oci_new_connect)
699 	ZEND_DEP_FALIAS(ocinlogon, oci_new_connect, arginfo_ocinlogon)
700 	ZEND_FE(oci_connect, arginfo_oci_connect)
701 	ZEND_DEP_FALIAS(ocilogon, oci_connect, arginfo_ocilogon)
702 	ZEND_FE(oci_pconnect, arginfo_oci_pconnect)
703 	ZEND_DEP_FALIAS(ociplogon, oci_pconnect, arginfo_ociplogon)
704 	ZEND_FE(oci_error, arginfo_oci_error)
705 	ZEND_DEP_FALIAS(ocierror, oci_error, arginfo_ocierror)
706 	ZEND_FE(oci_num_fields, arginfo_oci_num_fields)
707 	ZEND_DEP_FALIAS(ocinumcols, oci_num_fields, arginfo_ocinumcols)
708 	ZEND_FE(oci_parse, arginfo_oci_parse)
709 	ZEND_DEP_FALIAS(ociparse, oci_parse, arginfo_ociparse)
710 	ZEND_FE(oci_get_implicit_resultset, arginfo_oci_get_implicit_resultset)
711 	ZEND_FE(oci_set_prefetch, arginfo_oci_set_prefetch)
712 	ZEND_DEP_FALIAS(ocisetprefetch, oci_set_prefetch, arginfo_ocisetprefetch)
713 	ZEND_FE(oci_set_client_identifier, arginfo_oci_set_client_identifier)
714 	ZEND_FE(oci_set_edition, arginfo_oci_set_edition)
715 	ZEND_FE(oci_set_module_name, arginfo_oci_set_module_name)
716 	ZEND_FE(oci_set_action, arginfo_oci_set_action)
717 	ZEND_FE(oci_set_client_info, arginfo_oci_set_client_info)
718 	ZEND_FE(oci_set_db_operation, arginfo_oci_set_db_operation)
719 	ZEND_FE(oci_set_call_timeout, arginfo_oci_set_call_timeout)
720 	ZEND_FE(oci_password_change, arginfo_oci_password_change)
721 	ZEND_DEP_FALIAS(ocipasswordchange, oci_password_change, arginfo_ocipasswordchange)
722 	ZEND_FE(oci_new_cursor, arginfo_oci_new_cursor)
723 	ZEND_DEP_FALIAS(ocinewcursor, oci_new_cursor, arginfo_ocinewcursor)
724 	ZEND_FE(oci_result, arginfo_oci_result)
725 	ZEND_DEP_FALIAS(ociresult, oci_result, arginfo_ociresult)
726 	ZEND_FE(oci_client_version, arginfo_oci_client_version)
727 	ZEND_FE(oci_server_version, arginfo_oci_server_version)
728 	ZEND_DEP_FALIAS(ociserverversion, oci_server_version, arginfo_ociserverversion)
729 	ZEND_FE(oci_statement_type, arginfo_oci_statement_type)
730 	ZEND_DEP_FALIAS(ocistatementtype, oci_statement_type, arginfo_ocistatementtype)
731 	ZEND_FE(oci_num_rows, arginfo_oci_num_rows)
732 	ZEND_DEP_FALIAS(ocirowcount, oci_num_rows, arginfo_ocirowcount)
733 	ZEND_FE(oci_free_collection, arginfo_oci_free_collection)
734 	ZEND_DEP_FALIAS(ocifreecollection, oci_free_collection, arginfo_ocifreecollection)
735 	ZEND_FE(oci_collection_append, arginfo_oci_collection_append)
736 	ZEND_DEP_FALIAS(ocicollappend, oci_collection_append, arginfo_ocicollappend)
737 	ZEND_FE(oci_collection_element_get, arginfo_oci_collection_element_get)
738 	ZEND_DEP_FALIAS(ocicollgetelem, oci_collection_element_get, arginfo_ocicollgetelem)
739 	ZEND_FE(oci_collection_assign, arginfo_oci_collection_assign)
740 	ZEND_FE(oci_collection_element_assign, arginfo_oci_collection_element_assign)
741 	ZEND_DEP_FALIAS(ocicollassignelem, oci_collection_element_assign, arginfo_ocicollassignelem)
742 	ZEND_FE(oci_collection_size, arginfo_oci_collection_size)
743 	ZEND_DEP_FALIAS(ocicollsize, oci_collection_size, arginfo_ocicollsize)
744 	ZEND_FE(oci_collection_max, arginfo_oci_collection_max)
745 	ZEND_DEP_FALIAS(ocicollmax, oci_collection_max, arginfo_ocicollmax)
746 	ZEND_FE(oci_collection_trim, arginfo_oci_collection_trim)
747 	ZEND_DEP_FALIAS(ocicolltrim, oci_collection_trim, arginfo_ocicolltrim)
748 	ZEND_FE(oci_new_collection, arginfo_oci_new_collection)
749 	ZEND_DEP_FALIAS(ocinewcollection, oci_new_collection, arginfo_ocinewcollection)
750 	ZEND_FE(oci_register_taf_callback, arginfo_oci_register_taf_callback)
751 	ZEND_FE(oci_unregister_taf_callback, arginfo_oci_unregister_taf_callback)
752 	ZEND_FE_END
753 };
754 
755 
756 static const zend_function_entry class_OCILob_methods[] = {
757 	ZEND_ME_MAPPING(save, oci_lob_save, arginfo_class_OCILob_save, ZEND_ACC_PUBLIC)
758 	ZEND_ME_MAPPING(import, oci_lob_import, arginfo_class_OCILob_import, ZEND_ACC_PUBLIC)
759 	ZEND_ME_MAPPING(saveFile, oci_lob_import, arginfo_class_OCILob_saveFile, ZEND_ACC_PUBLIC)
760 	ZEND_ME_MAPPING(load, oci_lob_load, arginfo_class_OCILob_load, ZEND_ACC_PUBLIC)
761 	ZEND_ME_MAPPING(read, oci_lob_read, arginfo_class_OCILob_read, ZEND_ACC_PUBLIC)
762 	ZEND_ME_MAPPING(eof, oci_lob_eof, arginfo_class_OCILob_eof, ZEND_ACC_PUBLIC)
763 	ZEND_ME_MAPPING(tell, oci_lob_tell, arginfo_class_OCILob_tell, ZEND_ACC_PUBLIC)
764 	ZEND_ME_MAPPING(rewind, oci_lob_rewind, arginfo_class_OCILob_rewind, ZEND_ACC_PUBLIC)
765 	ZEND_ME_MAPPING(seek, oci_lob_seek, arginfo_class_OCILob_seek, ZEND_ACC_PUBLIC)
766 	ZEND_ME_MAPPING(size, oci_lob_size, arginfo_class_OCILob_size, ZEND_ACC_PUBLIC)
767 	ZEND_ME_MAPPING(write, oci_lob_write, arginfo_class_OCILob_write, ZEND_ACC_PUBLIC)
768 	ZEND_ME_MAPPING(append, oci_lob_append, arginfo_class_OCILob_append, ZEND_ACC_PUBLIC)
769 	ZEND_ME_MAPPING(truncate, oci_lob_truncate, arginfo_class_OCILob_truncate, ZEND_ACC_PUBLIC)
770 	ZEND_ME_MAPPING(erase, oci_lob_erase, arginfo_class_OCILob_erase, ZEND_ACC_PUBLIC)
771 	ZEND_ME_MAPPING(flush, oci_lob_flush, arginfo_class_OCILob_flush, ZEND_ACC_PUBLIC)
772 	ZEND_ME_MAPPING(setBuffering, ocisetbufferinglob, arginfo_class_OCILob_setBuffering, ZEND_ACC_PUBLIC)
773 	ZEND_ME_MAPPING(getBuffering, ocigetbufferinglob, arginfo_class_OCILob_getBuffering, ZEND_ACC_PUBLIC)
774 	ZEND_ME_MAPPING(writeToFile, oci_lob_export, arginfo_class_OCILob_writeToFile, ZEND_ACC_PUBLIC)
775 	ZEND_ME_MAPPING(export, oci_lob_export, arginfo_class_OCILob_export, ZEND_ACC_PUBLIC)
776 	ZEND_ME(OCILob, writeTemporary, arginfo_class_OCILob_writeTemporary, ZEND_ACC_PUBLIC)
777 	ZEND_ME(OCILob, close, arginfo_class_OCILob_close, ZEND_ACC_PUBLIC)
778 	ZEND_ME_MAPPING(free, oci_free_descriptor, arginfo_class_OCILob_free, ZEND_ACC_PUBLIC)
779 	ZEND_FE_END
780 };
781 
782 
783 static const zend_function_entry class_OCICollection_methods[] = {
784 	ZEND_ME_MAPPING(free, oci_free_collection, arginfo_class_OCICollection_free, ZEND_ACC_PUBLIC)
785 	ZEND_ME_MAPPING(append, oci_collection_append, arginfo_class_OCICollection_append, ZEND_ACC_PUBLIC)
786 	ZEND_ME_MAPPING(getElem, oci_collection_element_get, arginfo_class_OCICollection_getElem, ZEND_ACC_PUBLIC)
787 	ZEND_ME_MAPPING(assign, oci_collection_assign, arginfo_class_OCICollection_assign, ZEND_ACC_PUBLIC)
788 	ZEND_ME_MAPPING(assignElem, oci_collection_element_assign, arginfo_class_OCICollection_assignElem, ZEND_ACC_PUBLIC)
789 	ZEND_ME_MAPPING(size, oci_collection_size, arginfo_class_OCICollection_size, ZEND_ACC_PUBLIC)
790 	ZEND_ME_MAPPING(max, oci_collection_max, arginfo_class_OCICollection_max, ZEND_ACC_PUBLIC)
791 	ZEND_ME_MAPPING(trim, oci_collection_trim, arginfo_class_OCICollection_trim, ZEND_ACC_PUBLIC)
792 	ZEND_FE_END
793 };
794 
register_class_OCILob(void)795 static zend_class_entry *register_class_OCILob(void)
796 {
797 	zend_class_entry ce, *class_entry;
798 
799 	INIT_CLASS_ENTRY(ce, "OCILob", class_OCILob_methods);
800 	class_entry = zend_register_internal_class_ex(&ce, NULL);
801 
802 	return class_entry;
803 }
804 
register_class_OCICollection(void)805 static zend_class_entry *register_class_OCICollection(void)
806 {
807 	zend_class_entry ce, *class_entry;
808 
809 	INIT_CLASS_ENTRY(ce, "OCICollection", class_OCICollection_methods);
810 	class_entry = zend_register_internal_class_ex(&ce, NULL);
811 
812 	return class_entry;
813 }
814