diff options
author | Aron Xu <aron@debian.org> | 2015-09-21 22:55:55 +0800 |
---|---|---|
committer | Aron Xu <aron@debian.org> | 2015-09-21 22:55:55 +0800 |
commit | e85cf827a804d9abf4cbf48af6394c49331de322 (patch) | |
tree | aab761b5168447ea51ad1a64c9e1594e48f84b12 /os400/libxmlrpg/xmlmodule.rpgle | |
parent | 4b692ee8530176868e4832e30bdc4ba5bc145948 (diff) | |
download | libxml2-e85cf827a804d9abf4cbf48af6394c49331de322.tar.gz |
Revert "Merge tag 'upstream/2.9.1+dfsg1'"
This reverts commit 21ee18bdbc9a9d4500e12a1399d51c593b8b31d4, reversing
changes made to de338c1adfa336ddb5177ceb5c63bcd868a0ebc7.
Diffstat (limited to 'os400/libxmlrpg/xmlmodule.rpgle')
-rw-r--r-- | os400/libxmlrpg/xmlmodule.rpgle | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/os400/libxmlrpg/xmlmodule.rpgle b/os400/libxmlrpg/xmlmodule.rpgle new file mode 100644 index 0000000..09592a6 --- /dev/null +++ b/os400/libxmlrpg/xmlmodule.rpgle @@ -0,0 +1,51 @@ + * Summary: dynamic module loading + * Description: basic API for dynamic module loading, used by + * libexslt added in 2.6.17 + * + * Copy: See Copyright for the status of this software. + * + * Author: Patrick Monnerat <pm@datasphere.ch>, DATASPHERE S.A. + + /if not defined(XML_MODULE_H__) + /define XML_MODULE_H__ + + /include "libxmlrpg/xmlversion" + + /if defined(LIBXML_MODULES_ENABLED) + + * xmlModulePtr: + * + * A handle to a dynamically loaded module + + d xmlModulePtr s * based(######typedef######) + + * xmlModuleOption: + * + * enumeration of options that can be passed down to xmlModuleOpen() + + d xmlModuleOption... + d s 10i 0 based(######typedef######) enum + d XML_MODULE_LAZY... Lazy binding + d c 1 + d XML_MODULE_LOCAL... Local binding + d c 2 + + d xmlModuleOpen pr extproc('xmlModuleOpen') + d like(xmlModulePtr) + d filename * value options(*string) const char * + d options 10i 0 value + + d xmlModuleSymbol... + d pr 10i 0 extproc('xmlModuleSymbol') + d module value like(xmlModulePtr) + d name * value options(*string) const char * + d result * void *(*) + + d xmlModuleClose pr 10i 0 extproc('xmlModuleClose') + d module value like(xmlModulePtr) + + d xmlModuleFree pr 10i 0 extproc('xmlModuleFree') + d module value like(xmlModulePtr) + + /endif LIBXML_MODULES_ENBLD + /endif XML_MODULE_H__ |