diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2010-04-19 17:59:31 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2010-04-22 12:53:51 +0200 |
commit | 158a5b97a312f6810912d0e31ded4275a6a787ff (patch) | |
tree | 2ecfaa44dbb2964ac686ef1b632083e05c2e7138 /src/callback.c | |
parent | fde77649df47e8313d330a3f1e0f4b698e73ee8b (diff) | |
download | libmnl-158a5b97a312f6810912d0e31ded4275a6a787ff.tar.gz libmnl-158a5b97a312f6810912d0e31ded4275a6a787ff.zip |
review data types for input parameters of mnl_attr_*() functions
This patch includes the following changes:
* use uint16_t for attribute types in mnl_attr_put_*() function
* use uint16_t for maximun type in mnl_attr_type_valid(...)
* use size_t for attribute size validation in mnl_attr_validate2(...)
* use unsigned int for offset in mnl_attr_parse(...) instead of int
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/callback.c')
0 files changed, 0 insertions, 0 deletions