libnl/include/netlink
Rohan Joyce 6f891f6c0c lib: add const-ness to appropriate parameters in addr, attr, data
This patch changes the signatures of some functions to allow const pointers in
places where a const qualified pointer is enough access for what the function
does (e.g. nla_get_u8). It also changes some functions that take a pointer
parameter and return a pointer derived from it to use the strchr idiom.

This is not exhaustive in terms of places where const can be added, but it's
a decent chunk that should not make the external api any more restrictive.

http://lists.infradead.org/pipermail/libnl/2015-February/001826.html

Signed-off-by: Rohan Joyce <rojoyce.github@gmail.com>
Signed-off-by: Thomas Haller <thaller@redhat.com>
2015-02-16 11:20:18 +01:00
..
cli netfilter/ct: expand CT parameters that can be used in add/delete operations 2014-04-14 19:20:53 +02:00
fib_lookup Rename struct nl_handle to struct nl_sock 2008-05-15 13:26:32 +02:00
genl genl: Export genl_ops_resolve() and genl_mngt_resolve() in header 2012-06-01 11:51:43 +02:00
idiag idiag: reorder idiagnl.h to have deprecated functions at the top 2014-11-24 18:30:21 +01:00
netfilter nf: nfnl_*_str2copy_mode() should return int 2014-08-26 13:03:30 +02:00
route route/tc: add rtnl_tc_stat2str() and rtnl_tc_str2stat() 2015-02-02 18:22:47 +01:00
xfrm xfrm: style-fixes 2014-07-20 18:15:16 +02:00
.gitignore ignore more temporary files 2008-05-05 17:13:02 +02:00
addr.h lib: add const-ness to appropriate parameters in addr, attr, data 2015-02-16 11:20:18 +01:00
attr.h lib: add const-ness to appropriate parameters in addr, attr, data 2015-02-16 11:20:18 +01:00
cache-api.h Provide compat headers for removed private API 2013-01-24 14:03:52 +01:00
cache.h cache: avoid duplicate check on initial dump 2014-11-23 15:58:13 +01:00
data.h lib: add const-ness to appropriate parameters in addr, attr, data 2015-02-16 11:20:18 +01:00
errno.h Support for NLM_F_INTR 2011-07-14 10:51:49 +02:00
handlers.h nl_cb: store nl_cb_type in struct nl_cb 2013-09-05 17:46:00 +02:00
hash.h Hash: Properly prefix hash functions 2012-11-10 10:22:26 +01:00
hashtable.h Add nl hashtable structures and access functions 2012-11-10 00:12:36 +01:00
list.h - Reworked the classifier interface. 2009-09-02 18:31:14 +02:00
msg.h rename NL_AUTO_PID to NL_AUTO_PORT 2010-11-23 13:31:39 +01:00
netlink-compat.h Initial import 2007-09-15 01:28:01 +02:00
netlink-kernel.h use linux/netlink.h instead of netlink/netlink-kernel.h 2011-03-16 12:53:14 +01:00
netlink.h nl: add function nl_pickup_keep_syserr() 2014-11-27 10:24:03 +01:00
object-api.h Remove obsolete warning from <netlink/object-api.h> as it breaks NM build 2013-01-24 14:29:18 +01:00
object.h cache: Add new nl_cache_find api 2013-01-11 13:52:50 +01:00
socket.h nl: Provide API to specify the default buffer size when receiving netlink messages 2012-10-09 16:16:54 +02:00
types.h doc: documentation restructuring 2012-05-10 12:03:59 +02:00
utils.h route/addr: consider CACHEINFO in addr_compare()/nl_object_diff() 2014-11-27 12:53:38 +01:00
version.h.in Run-time version information is now available 2012-08-30 03:19:04 +06:00