]> rtime.felk.cvut.cz Git - lisovros/iproute2_canprio.git/blobdiff - include/libnetlink.h
libnetlink: change rtnl_send() to take void *
[lisovros/iproute2_canprio.git] / include / libnetlink.h
index 07bd707e635bd564fae5fcaeffa6d0528fa72bc0..057f41d1544c129b19e6d27e16fb52d607e2b8a4 100644 (file)
@@ -47,8 +47,8 @@ extern int rtnl_talk(struct rtnl_handle *rtnl, struct nlmsghdr *n, pid_t peer,
                     unsigned groups, struct nlmsghdr *answer,
                     rtnl_filter_t junk,
                     void *jarg);
-extern int rtnl_send(struct rtnl_handle *rth, const char *buf, int);
-extern int rtnl_send_check(struct rtnl_handle *rth, const char *buf, int);
+extern int rtnl_send(struct rtnl_handle *rth, const void *buf, int);
+extern int rtnl_send_check(struct rtnl_handle *rth, const void *buf, int);
 
 extern int addattr32(struct nlmsghdr *n, int maxlen, int type, __u32 data);
 extern int addattr_l(struct nlmsghdr *n, int maxlen, int type, const void *data, int alen);