diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2010-11-07 20:38:35 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2010-11-07 20:40:27 +0100 |
commit | ea4b5f90662c63d6ceccc7c9c851dd183e65d0e6 (patch) | |
tree | 6eda30a414528cafd65c5f86f613e6def7fade34 /include | |
parent | 843ba20a46fee91f6e3e270dd6a4266bb3876174 (diff) | |
download | libmnl-ea4b5f90662c63d6ceccc7c9c851dd183e65d0e6.tar.gz libmnl-ea4b5f90662c63d6ceccc7c9c851dd183e65d0e6.zip |
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')
-rw-r--r-- | include/libmnl/libmnl.h | 4 |
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 |