1 * Summary: dynamic module loading 2 * Description: basic API for dynamic module loading, used by 3 * libexslt added in 2.6.17 4 * 5 * Copy: See Copyright for the status of this software. 6 * 7 * Author: Patrick Monnerat <pm@datasphere.ch>, DATASPHERE S.A. 8 9 /if not defined(XML_MODULE_H__) 10 /define XML_MODULE_H__ 11 12 /include "libxmlrpg/xmlversion" 13 14 /if defined(LIBXML_MODULES_ENABLED) 15 16 * xmlModulePtr: 17 * 18 * A handle to a dynamically loaded module 19 20 d xmlModulePtr s * based(######typedef######) 21 22 * xmlModuleOption: 23 * 24 * enumeration of options that can be passed down to xmlModuleOpen() 25 26 d xmlModuleOption... 27 d s 10i 0 based(######typedef######) enum 28 d XML_MODULE_LAZY... Lazy binding 29 d c 1 30 d XML_MODULE_LOCAL... Local binding 31 d c 2 32 33 d xmlModuleOpen pr extproc('xmlModuleOpen') 34 d like(xmlModulePtr) 35 d filename * value options(*string) const char * 36 d options 10i 0 value 37 38 d xmlModuleSymbol... 39 d pr 10i 0 extproc('xmlModuleSymbol') 40 d module value like(xmlModulePtr) 41 d name * value options(*string) const char * 42 d result * void *(*) 43 44 d xmlModuleClose pr 10i 0 extproc('xmlModuleClose') 45 d module value like(xmlModulePtr) 46 47 d xmlModuleFree pr 10i 0 extproc('xmlModuleFree') 48 d module value like(xmlModulePtr) 49 50 /endif LIBXML_MODULES_ENBLD 51 /endif XML_MODULE_H__ 52