summaryrefslogtreecommitdiffstats
path: root/include/libiptc/xtcshared.h
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2011-08-27 11:12:49 +0200
committerJan Engelhardt <jengelh@medozas.de>2011-09-11 17:31:34 +0200
commit2325c0fedf7507f94aa3bb11cc65a70d33836f8f (patch)
tree5caca3cbea25b1228e20977a7e98a72333d2d40a /include/libiptc/xtcshared.h
parent160f25b09fc5695a65a8aaf485ebece85e1f853c (diff)
libiptc: combine common types
Make an xt_chainlabel type out of ipt_chainlabel and ip6t_chainlabel, and add backward-API #defines. The ABI naturally does not change either, so no soversion bump. Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'include/libiptc/xtcshared.h')
-rw-r--r--include/libiptc/xtcshared.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/libiptc/xtcshared.h b/include/libiptc/xtcshared.h
new file mode 100644
index 00000000..aaf87a4b
--- /dev/null
+++ b/include/libiptc/xtcshared.h
@@ -0,0 +1,6 @@
+#ifndef _LIBXTC_SHARED_H
+#define _LIBXTC_SHARED_H 1
+
+typedef char xt_chainlabel[32];
+
+#endif /* _LIBXTC_SHARED_H */