summaryrefslogtreecommitdiffstats
path: root/include/libnetfilter_acct/libnetfilter_acct.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libnetfilter_acct/libnetfilter_acct.h')
-rw-r--r--include/libnetfilter_acct/libnetfilter_acct.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/libnetfilter_acct/libnetfilter_acct.h b/include/libnetfilter_acct/libnetfilter_acct.h
index d877407..a57b571 100644
--- a/include/libnetfilter_acct/libnetfilter_acct.h
+++ b/include/libnetfilter_acct/libnetfilter_acct.h
@@ -32,6 +32,9 @@ int nfacct_nlmsg_parse_payload(const struct nlmsghdr *nlh, struct nfacct *nfacct
#define NFACCT_SNPRINTF_F_FULL (1 << 0)
-int nfacct_snprintf(char *buf, size_t size, struct nfacct *nfacct, unsigned int flags);
+#define NFACCT_SNPRINTF_T_PLAIN 0
+#define NFACCT_SNPRINTF_T_XML 1
+
+int nfacct_snprintf(char *buf, size_t size, struct nfacct *nfacct, uint16_t type, uint16_t flags);
#endif