summaryrefslogtreecommitdiffstats
path: root/include/utils.h
diff options
context:
space:
mode:
authorArturo Borrero Gonzalez <arturo.borrero.glez@gmail.com>2014-05-06 13:28:33 +0200
committerArturo Borrero Gonzalez <aborrero@cica.es>2014-05-07 17:09:29 +0200
commitcaa1cf2960db0d0a01e707f5a82a05d0718ff498 (patch)
treedaad2ad6efadd88271a9351b52e7ee50049ac555 /include/utils.h
parentc179ee88d91a84fc75dc4602cca500e8fa72ed66 (diff)
nft-sync: complete --fetch operation
This patch complete the --fetch operation in the server side. By now, the format of the ruleset is XML. In further patches we can include additional config options to let the admin choose one of XML/JSON. Signed-off-by: Arturo Borrero Gonzalez <arturo.borrero.glez@gmail.com> Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/utils.h')
-rw-r--r--include/utils.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/utils.h b/include/utils.h
new file mode 100644
index 0000000..8d0eb38
--- /dev/null
+++ b/include/utils.h
@@ -0,0 +1,7 @@
+#ifndef _UTILS_H_
+#define _UTILS_H_
+
+void xfree(const void *ptr);
+
+#endif /* _UTILS_H_ */
+