summaryrefslogtreecommitdiffstats
path: root/src/rccenca.h
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@dside.dyndns.org>2005-06-28 23:44:19 +0000
committerSuren A. Chilingaryan <csa@dside.dyndns.org>2005-06-28 23:44:19 +0000
commit081011f386915bd037a3569e46ed5e4f10c490da (patch)
tree6365a5bd41cf85b8eeb1db12740888da8f5926f8 /src/rccenca.h
parentc60519ab50b32dc282b385b3bbb2df319279f655 (diff)
downloadlibrcc-081011f386915bd037a3569e46ed5e4f10c490da.tar.gz
librcc-081011f386915bd037a3569e46ed5e4f10c490da.tar.bz2
librcc-081011f386915bd037a3569e46ed5e4f10c490da.tar.xz
librcc-081011f386915bd037a3569e46ed5e4f10c490da.zip
29.06.2005
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 */