php_schema.h 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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. #ifndef PHP_SCHEMA_H
  19. #define PHP_SCHEMA_H
  20. int load_schema(sdlCtx *ctx, xmlNodePtr schema);
  21. void schema_pass2(sdlCtx *ctx);
  22. void delete_model(zval *zv);
  23. void delete_model_persistent(zval *zv);
  24. void delete_type(zval *zv);
  25. void delete_type_persistent(zval *zv);
  26. void delete_extra_attribute(zval *zv);
  27. void delete_extra_attribute_persistent(zval *zv);
  28. void delete_attribute(zval *zv);
  29. void delete_attribute_persistent(zval *zv);
  30. void delete_restriction_var_int(sdlRestrictionIntPtr ptr);
  31. void delete_restriction_var_int_persistent(sdlRestrictionIntPtr ptr);
  32. void delete_restriction_var_char(zval *zv);
  33. void delete_restriction_var_char_int(sdlRestrictionCharPtr ptr);
  34. void delete_restriction_var_char_persistent(zval *zv);
  35. void delete_restriction_var_char_persistent_int(sdlRestrictionCharPtr ptr);
  36. #endif