Path: blob/master/venv/Lib/site-packages/lxml/includes/libxml/xmlmodule.h
811 views
/*1* Summary: dynamic module loading2* Description: basic API for dynamic module loading, used by3* libexslt added in 2.6.174*5* Copy: See Copyright for the status of this software.6*7* Author: Joel W. Reed8*/910#ifndef __XML_MODULE_H__11#define __XML_MODULE_H__1213#include <libxml/xmlversion.h>1415#ifdef LIBXML_MODULES_ENABLED1617#ifdef __cplusplus18extern "C" {19#endif2021/**22* xmlModulePtr:23*24* A handle to a dynamically loaded module25*/26typedef struct _xmlModule xmlModule;27typedef xmlModule *xmlModulePtr;2829/**30* xmlModuleOption:31*32* enumeration of options that can be passed down to xmlModuleOpen()33*/34typedef enum {35XML_MODULE_LAZY = 1, /* lazy binding */36XML_MODULE_LOCAL= 2 /* local binding */37} xmlModuleOption;3839XMLPUBFUN xmlModulePtr XMLCALL xmlModuleOpen (const char *filename,40int options);4142XMLPUBFUN int XMLCALL xmlModuleSymbol (xmlModulePtr module,43const char* name,44void **result);4546XMLPUBFUN int XMLCALL xmlModuleClose (xmlModulePtr module);4748XMLPUBFUN int XMLCALL xmlModuleFree (xmlModulePtr module);4950#ifdef __cplusplus51}52#endif5354#endif /* LIBXML_MODULES_ENABLED */5556#endif /*__XML_MODULE_H__ */575859