summaryrefslogtreecommitdiffstats
path: root/include/libmnl
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2010-11-07 20:38:35 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2010-11-07 20:40:27 +0100
commitea4b5f90662c63d6ceccc7c9c851dd183e65d0e6 (patch)
tree6eda30a414528cafd65c5f86f613e6def7fade34 /include/libmnl
parent843ba20a46fee91f6e3e270dd6a4266bb3876174 (diff)
nlmsg: rework mnl_nlmsg_fprintf
This patch reworks mnl_nlmsg_fprintf. It breaks backward compatibility of this function, there was no way to improve it without doing so (and we are still in time to break thing, BTW). Signed-off-bu: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/libmnl')
-rw-r--r--include/libmnl/libmnl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/libmnl/libmnl.h b/include/libmnl/libmnl.h
index 7094af2..74662d3 100644
--- a/include/libmnl/libmnl.h
+++ b/include/libmnl/libmnl.h
@@ -63,8 +63,8 @@ extern void *mnl_nlmsg_get_payload(const struct nlmsghdr *nlh);
extern void *mnl_nlmsg_get_payload_offset(const struct nlmsghdr *nlh, size_t offset);
extern void *mnl_nlmsg_get_payload_tail(const struct nlmsghdr *nlh);
-/* Netlink dump message */
-extern void mnl_nlmsg_fprintf(FILE *fd, const struct nlmsghdr *nlh);
+/* Netlink message printer */
+extern void mnl_nlmsg_fprintf(FILE *fd, const void *data, size_t datalen, size_t extra_header_size);
/*
* Netlink attributes API