aboutsummaryrefslogtreecommitdiff
path: root/ext_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext_internal.h')
-rw-r--r--ext_internal.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/ext_internal.h b/ext_internal.h
new file mode 100644
index 0000000..a8c7393
--- /dev/null
+++ b/ext_internal.h
@@ -0,0 +1,13 @@
+#ifndef ASDFAPI_EXT_INTERNAL_H
+#define ASDFAPI_EXT_INTERNAL_H
+
+#include <dlfcn.h>
+#include "extensions/ext.h"
+
+typedef int (*fnptr_ext_init)();
+
+void *asdfapi_ext_load(struct ASDFExtension **info, const char *filename);
+void *asdfapi_ext_call(void *handle, const char *sym);
+void asdfapi_ext_show_descriptor(struct ASDFExtension *info);
+#endif //ASDFAPI_EXT_INTERNAL_H
+