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: Brad Lafountain <rodif_bl@yahoo.com> | 16 | Shane Caraveo <shane@caraveo.com> | 17 | Dmitry Stogov <dmitry@zend.com> | 18 +----------------------------------------------------------------------+ 19 */ 20 /* $Id$ */ 21 22 #ifndef PHP_SCHEMA_H 23 #define PHP_SCHEMA_H 24 25 int load_schema(sdlCtx *ctx, xmlNodePtr schema); 26 void schema_pass2(sdlCtx *ctx); 27 28 void delete_model(zval *zv); 29 void delete_model_persistent(zval *zv); 30 void delete_type(zval *zv); 31 void delete_type_persistent(zval *zv); 32 void delete_extra_attribute(zval *zv); 33 void delete_extra_attribute_persistent(zval *zv); 34 void delete_attribute(zval *zv); 35 void delete_attribute_persistent(zval *zv); 36 void delete_restriction_var_int(sdlRestrictionIntPtr ptr); 37 void delete_restriction_var_int_persistent(sdlRestrictionIntPtr ptr); 38 void delete_restriction_var_char(zval *zv); 39 void delete_restriction_var_char_int(sdlRestrictionCharPtr ptr); 40 void delete_restriction_var_char_persistent(zval *zv); 41 void delete_restriction_var_char_persistent_int(sdlRestrictionCharPtr ptr); 42 #endif 43