diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2010-03-28 13:35:58 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2010-03-28 13:35:58 +0200 |
commit | 024aef34cd2ba6ab9b91c61c9b08f0769243de20 (patch) | |
tree | ec63dee2985c5e6d0b9dbac69f7609be4748e6b8 /include/libmnl/libmnl.h | |
parent | 85d53a10cf5838d12ace5037af3cec8925d8aea4 (diff) | |
download | libmnl-024aef34cd2ba6ab9b91c61c9b08f0769243de20.tar.gz libmnl-024aef34cd2ba6ab9b91c61c9b08f0769243de20.zip |
use `unsigned int' for number of bytes and array size in callback API
Diffstat (limited to 'include/libmnl/libmnl.h')
-rw-r--r-- | include/libmnl/libmnl.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/libmnl/libmnl.h b/include/libmnl/libmnl.h index 55f48c1..a63e4c2 100644 --- a/include/libmnl/libmnl.h +++ b/include/libmnl/libmnl.h @@ -102,12 +102,12 @@ 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, int numbytes, unsigned int seq, +extern int mnl_cb_run(const char *buf, unsigned int numbytes, unsigned int seq, mnl_cb_t cb_data, void *data); -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, int cb_ctl_array_len); +extern int mnl_cb_run2(const char *buf, unsigned int numbytes, + unsigned int seq, mnl_cb_t cb_data, void *data, + mnl_cb_t *cb_ctl_array, unsigned int cb_ctl_array_len); /* * other declarations |