summaryrefslogtreecommitdiffstats
path: root/include/xtables/internal.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'include/xtables/internal.h.in')
-rw-r--r--include/xtables/internal.h.in17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/xtables/internal.h.in b/include/xtables/internal.h.in
new file mode 100644
index 00000000..81ddb48a
--- /dev/null
+++ b/include/xtables/internal.h.in
@@ -0,0 +1,17 @@
+#ifndef _XTABLES_INTERNAL_H
+#define _XTABLES_INTERNAL_H 1
+
+#define IPTABLES_VERSION "@PACKAGE_VERSION@"
+
+#ifndef XT_LIB_DIR
+# define XT_LIB_DIR "/usr/local/lib/iptables"
+#endif
+
+/**
+ * Program's own name and version.
+ */
+extern const char *program_name, *program_version;
+
+extern void _init(void);
+
+#endif /* _XTABLES_INTERNAL_H */