From 9eb34dc6ca9c72f8f437be1af63254b7092ef47e Mon Sep 17 00:00:00 2001 From: Thomas Graf Date: Sat, 15 Sep 2007 12:14:56 +0200 Subject: [PATCH] Add missing declarations for genlmsg_data() and genlmsg_len() --- include/netlink/genl/genl.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/netlink/genl/genl.h b/include/netlink/genl/genl.h index b423dc3..623ec3f 100644 --- a/include/netlink/genl/genl.h +++ b/include/netlink/genl/genl.h @@ -27,6 +27,8 @@ extern void * genlmsg_put(struct nl_msg *, uint32_t, uint32_t, int, int, int, uint8_t, uint8_t); extern void * genlmsg_data(const struct genlmsghdr *); extern int genlmsg_len(const struct genlmsghdr *); +extern struct nlattr * genlmsg_attrdata(const struct genlmsghdr *, int); +extern int genlmsg_attrlen(const struct genlmsghdr *, int); extern char * genl_op2name(int, int, char *, size_t);