xref: /PHP-8.4/ext/soap/php_schema.h (revision b7b492b1)
1 /*
2   +----------------------------------------------------------------------+
3   | Copyright (c) The PHP Group                                          |
4   +----------------------------------------------------------------------+
5   | This source file is subject to version 3.01 of the PHP license,      |
6   | that is bundled with this package in the file LICENSE, and is        |
7   | available through the world-wide-web at the following url:           |
8   | https://www.php.net/license/3_01.txt                                 |
9   | If you did not receive a copy of the PHP license and are unable to   |
10   | obtain it through the world-wide-web, please send a note to          |
11   | license@php.net so we can mail you a copy immediately.               |
12   +----------------------------------------------------------------------+
13   | Authors: Brad Lafountain <rodif_bl@yahoo.com>                        |
14   |          Shane Caraveo <shane@caraveo.com>                           |
15   |          Dmitry Stogov <dmitry@php.net>                              |
16   +----------------------------------------------------------------------+
17 */
18 
19 #ifndef PHP_SCHEMA_H
20 #define PHP_SCHEMA_H
21 
22 int load_schema(sdlCtx *ctx, xmlNodePtr schema);
23 void schema_pass2(sdlCtx *ctx);
24 
25 xmlChar *schema_location_construct_uri(const xmlAttr *attribute);
26 
27 void delete_model(zval *zv);
28 void delete_model_persistent(zval *zv);
29 void delete_type(zval *zv);
30 void delete_type_persistent(zval *zv);
31 void delete_extra_attribute(zval *zv);
32 void delete_extra_attribute_persistent(zval *zv);
33 void delete_attribute(zval *zv);
34 void delete_attribute_persistent(zval *zv);
35 void delete_restriction_var_int(sdlRestrictionIntPtr ptr);
36 void delete_restriction_var_int_persistent(sdlRestrictionIntPtr ptr);
37 void delete_restriction_var_char(zval *zv);
38 void delete_restriction_var_char_int(sdlRestrictionCharPtr ptr);
39 void delete_restriction_var_char_persistent(zval *zv);
40 void delete_restriction_var_char_persistent_int(sdlRestrictionCharPtr ptr);
41 #endif
42