summaryrefslogtreecommitdiffstats
path: root/src/plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugin.h')
-rw-r--r--src/plugin.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/plugin.h b/src/plugin.h
new file mode 100644
index 0000000..c6ed7b1
--- /dev/null
+++ b/src/plugin.h
@@ -0,0 +1,15 @@
+#ifndef _RCC_PLUGIN_H
+#define _RCC_PLUGIN_H
+#include "enca.h"
+
+#ifdef RCC_ENCA_DYNAMIC
+# define RCC_PLUGINS
+#endif /* RCC_ENCA_DYNAMIC */
+
+typedef void *rcc_library_handle;
+
+rcc_library_handle rccLibraryOpen(char *filename);
+void rccLibraryClose(rcc_library_handle handle);
+void* rccLibraryFind(rcc_library_handle handle, const char *symbol);
+
+#endif /* _RCC_PLUGIN_H */