summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2012-06-22 17:50:26 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2012-06-22 17:50:26 +0200
commit83dd08af4d760962c90f58c5bbfb7e0a08d92d2b (patch)
tree90445a7c8560188fb3c409f4f0d519300ba7a167 /include
parent2204eb2d6eecd06acae471eb6bd682eab904db90 (diff)
src: NFACCT_SNPRINTF_T_XML flag for nfacct_snprintf to output time
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include')
-rw-r--r--include/libnetfilter_acct/libnetfilter_acct.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/libnetfilter_acct/libnetfilter_acct.h b/include/libnetfilter_acct/libnetfilter_acct.h
index a57b571..a326c3c 100644
--- a/include/libnetfilter_acct/libnetfilter_acct.h
+++ b/include/libnetfilter_acct/libnetfilter_acct.h
@@ -30,7 +30,8 @@ struct nlmsghdr *nfacct_nlmsg_build_hdr(char *buf, uint8_t cmd, uint16_t flags,
void nfacct_nlmsg_build_payload(struct nlmsghdr *nlh, struct nfacct *nfacct);
int nfacct_nlmsg_parse_payload(const struct nlmsghdr *nlh, struct nfacct *nfacct);
-#define NFACCT_SNPRINTF_F_FULL (1 << 0)
+#define NFACCT_SNPRINTF_F_FULL (1 << 0)
+#define NFACCT_SNPRINTF_F_TIME (1 << 1)
#define NFACCT_SNPRINTF_T_PLAIN 0
#define NFACCT_SNPRINTF_T_XML 1