diff options
author | Thomas Graf <tgr@lsx.localdomain> | 2008-05-15 11:26:32 (GMT) |
---|---|---|
committer | Thomas Graf <tgr@lsx.localdomain> | 2008-05-15 11:26:32 (GMT) |
commit | 1155370f520cb64657e25153255cf7dc1424317f (patch) | |
tree | bfa1323d2495dfe5729eb27d0536d4349f2a9d86 /include/netlink/route/route.h | |
parent | 0cf780859cbce363a6e2cd4b8d19c5498a3530f5 (diff) | |
download | libnl-1155370f520cb64657e25153255cf7dc1424317f.zip libnl-1155370f520cb64657e25153255cf7dc1424317f.tar.gz libnl-1155370f520cb64657e25153255cf7dc1424317f.tar.bz2 |
Rename struct nl_handle to struct nl_sock
The idea of a common handle is long revised and only misleading,
nl_handle really represents a socket with some additional
action handlers assigned to it.
Alias for nl_handle is kept for backwards compatibility.
Diffstat (limited to 'include/netlink/route/route.h')
-rw-r--r-- | include/netlink/route/route.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/netlink/route/route.h b/include/netlink/route/route.h index b3a9b9e..488ecc4 100644 --- a/include/netlink/route/route.h +++ b/include/netlink/route/route.h @@ -44,7 +44,7 @@ extern struct nl_object_ops route_obj_ops; extern struct rtnl_route * rtnl_route_alloc(void); extern void rtnl_route_put(struct rtnl_route *); -extern int rtnl_route_alloc_cache(struct nl_handle *, int, int, +extern int rtnl_route_alloc_cache(struct nl_sock *, int, int, struct nl_cache **); extern void rtnl_route_get(struct rtnl_route *); @@ -55,10 +55,10 @@ extern int rtnl_route_build_msg(struct nl_msg *, struct rtnl_route *); extern int rtnl_route_build_add_request(struct rtnl_route *, int, struct nl_msg **); -extern int rtnl_route_add(struct nl_handle *, struct rtnl_route *, int); +extern int rtnl_route_add(struct nl_sock *, struct rtnl_route *, int); extern int rtnl_route_build_del_request(struct rtnl_route *, int, struct nl_msg **); -extern int rtnl_route_delete(struct nl_handle *, struct rtnl_route *, int); +extern int rtnl_route_delete(struct nl_sock *, struct rtnl_route *, int); extern void rtnl_route_set_table(struct rtnl_route *, uint32_t); extern uint32_t rtnl_route_get_table(struct rtnl_route *); |