summaryrefslogtreecommitdiffstats
path: root/src/rccenca.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/rccenca.h')
-rw-r--r--src/rccenca.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/rccenca.h b/src/rccenca.h
new file mode 100644
index 0000000..2f2c487
--- /dev/null
+++ b/src/rccenca.h
@@ -0,0 +1,26 @@
+#ifndef _RCC_ENCA_H
+#define _RCC_ENCA_H
+
+#include "../config.h"
+
+#ifdef HAVE_ENCA
+# define RCC_ENCA_SUPPORT
+# undef RCC_ENCA_DYNAMIC
+#elif HAVE_DLOPEN
+# define RCC_ENCA_SUPPORT
+# define RCC_ENCA_DYNAMIC
+#else
+# undef RCC_ENCA_SUPPORT
+# undef RCC_ENCA_DYNAMIC
+#endif
+
+#define RCC_ENCA_LIB "libenca.so.0"
+
+#ifdef RCC_ENCA_DYNAMIC
+# define RCC_ENCA_SUPPORT
+#endif
+
+int rccEncaInit();
+void rccEncaFree();
+
+#endif /* _RCC_ENCA_H */