diff options
Diffstat (limited to 'src/htsmodules.h')
-rw-r--r-- | src/htsmodules.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/htsmodules.h b/src/htsmodules.h index 7d1154b..5d2b989 100644 --- a/src/htsmodules.h +++ b/src/htsmodules.h @@ -98,14 +98,22 @@ struct htsmoduleStruct { }; +/* Used to wrap module initialization */ +/* return 1 if init was ok */ +typedef int (*t_htsWrapperInit)(char *fn, char *args); +typedef int (*t_htsWrapperExit)(void); +typedef int (*t_htsWrapperPlugInit)(char *args); + +/* Library internal definictions */ +#ifdef HTS_INTERNAL_BYTECODE extern void htspe_init(void); extern int hts_parse_externals(htsmoduleStruct* str); -extern void* getFunctionPtr(char* file, char* fncname); extern int gz_is_available; extern int swf_is_available; extern int SSL_is_available; extern int V6_is_available; extern char WHAT_is_available[64]; +#endif #endif |