summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2010-03-28 13:56:17 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2010-03-28 13:56:17 +0200
commita5fc31eb37f7f5b88b727c52daccae966a53334b (patch)
tree2fb2ca3f4793f37eb3e678931f469837735c595a /include
parent024aef34cd2ba6ab9b91c61c9b08f0769243de20 (diff)
partially revert previous commit
the use of unsigned int in the number of bytes affects other message handling helper function, hold on with this.
Diffstat (limited to 'include')
-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 a63e4c2..6c02d78 100644
--- a/include/libmnl/libmnl.h
+++ b/include/libmnl/libmnl.h
@@ -102,10 +102,10 @@ extern struct nlattr *mnl_attr_next(const struct nlattr *attr, int *len);
typedef int (*mnl_cb_t)(const struct nlmsghdr *nlh, void *data);
-extern int mnl_cb_run(const char *buf, unsigned int numbytes, unsigned int seq,
+extern int mnl_cb_run(const char *buf, int numbytes, unsigned int seq,
mnl_cb_t cb_data, void *data);
-extern int mnl_cb_run2(const char *buf, unsigned int numbytes,
+extern int mnl_cb_run2(const char *buf, int numbytes,
unsigned int seq, mnl_cb_t cb_data, void *data,
mnl_cb_t *cb_ctl_array, unsigned int cb_ctl_array_len);