summaryrefslogtreecommitdiff
path: root/include/libmnl
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2010-04-22 13:24:01 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2010-04-22 13:24:01 +0200
commit9ad5f22842364ac63d0e915accc1389c51f3606a (patch)
treeeda9fb65e38b0d670a0589ec790be91a1438a587 /include/libmnl
parent158a5b97a312f6810912d0e31ded4275a6a787ff (diff)
downloadlibmnl-9ad5f22842364ac63d0e915accc1389c51f3606a.tar.gz
libmnl-9ad5f22842364ac63d0e915accc1389c51f3606a.zip
use size_t to indicate the buffer size in mnl_cb_run*()
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/libmnl')
-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 af7d30b..cf91739 100644
--- a/include/libmnl/libmnl.h
+++ b/include/libmnl/libmnl.h
@@ -138,10 +138,10 @@ extern int mnl_attr_parse_nested(const struct nlattr *attr, mnl_attr_cb_t cb, vo
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, size_t numbytes, unsigned int seq,
unsigned int portid, mnl_cb_t cb_data, void *data);
-extern int mnl_cb_run2(const char *buf, int numbytes, unsigned int seq,
+extern int mnl_cb_run2(const char *buf, size_t numbytes, unsigned int seq,
unsigned int portid, mnl_cb_t cb_data, void *data,
mnl_cb_t *cb_ctl_array, unsigned int cb_ctl_array_len);