libxml2_plugin.c 402 B

12345678910111213141516171819202122
  1. #include <errno.h>
  2. #include <string.h>
  3. #include <libxml/parser.h>
  4. #include <libxml/tree.h>
  5. #include <faux/faux.h>
  6. #include <faux/str.h>
  7. #include <klish/kxml.h>
  8. #include <klish/kscheme.h>
  9. kscheme_t *kxml_load_scheme(const char *xml_path, faux_error_t *error);
  10. bool_t kdb_libxml2_init(void)
  11. {
  12. kscheme_t *scheme = NULL;
  13. scheme = kxml_load_scheme(NULL, NULL);
  14. scheme = scheme;
  15. return BOOL_TRUE;
  16. }