aboutsummaryrefslogtreecommitdiff
path: root/ext_internal.h
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2024-07-08 09:45:14 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2024-07-08 09:45:14 -0400
commit6adfb65f6646537abb0ad717614eec26ff14761c (patch)
tree1bbe40dd148313d3cd61ff22bd7b76852ad07102 /ext_internal.h
downloadasdfapi-6adfb65f6646537abb0ad717614eec26ff14761c.tar.gz
Initial commit
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
+