summaryrefslogtreecommitdiffstats
path: root/src/internal.h
diff options
context:
space:
mode:
authorArturo Borrero Gonzalez <arturo.borrero.glez@gmail.com>2013-06-03 05:58:38 +0000
committerPablo Neira Ayuso <pablo@netfilter.org>2013-06-06 12:16:30 +0200
commitcf4f500f828ccc8720a19c211bc9ffc478c1463a (patch)
tree15e60c66643dfc946a296e04172bfa363e9a8b8e /src/internal.h
parentdcb90d7f41d9770820060167f128d815f8a09f0d (diff)
src: xml: add versioning
Add version to XML chunks in case of future changes. Signed-off-by: Arturo Borrero Gonzalez <arturo.borrero.glez@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/internal.h')
-rw-r--r--src/internal.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/internal.h b/src/internal.h
index b3c3642..3ad5e89 100644
--- a/src/internal.h
+++ b/src/internal.h
@@ -17,6 +17,10 @@
#include <mxml.h>
#endif
+#define NFT_TABLE_XML_VERSION 0
+#define NFT_CHAIN_XML_VERSION 0
+#define NFT_RULE_XML_VERSION 0
+
struct expr_ops;
struct nft_rule_expr {