php_schema.h 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /*
  2. +----------------------------------------------------------------------+
  3. | PHP Version 5 |
  4. +----------------------------------------------------------------------+
  5. | Copyright (c) 1997-2016 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. #ifndef PHP_SCHEMA_H
  22. #define PHP_SCHEMA_H
  23. int load_schema(sdlCtx *ctx, xmlNodePtr schema TSRMLS_DC);
  24. void schema_pass2(sdlCtx *ctx);
  25. void delete_model(void *handle);
  26. void delete_model_persistent(void *handle);
  27. void delete_type(void *data);
  28. void delete_type_persistent(void *data);
  29. void delete_extra_attribute(void *attribute);
  30. void delete_extra_attribute_persistent(void *attribute);
  31. void delete_attribute(void *attribute);
  32. void delete_attribute_persistent(void *attribute);
  33. void delete_restriction_var_int(void *rvi);
  34. void delete_restriction_var_int_persistent(void *rvi);
  35. void delete_restriction_var_char(void *srvc);
  36. void delete_restriction_var_char_persistent(void *srvc);
  37. #endif