summaryrefslogtreecommitdiffstats
path: root/include/netlink/route/class.h
diff options
context:
space:
mode:
authorThomas Graf <tgr@lsx.localdomain>2008-05-15 11:26:32 (GMT)
committerThomas Graf <tgr@lsx.localdomain>2008-05-15 11:26:32 (GMT)
commit1155370f520cb64657e25153255cf7dc1424317f (patch)
treebfa1323d2495dfe5729eb27d0536d4349f2a9d86 /include/netlink/route/class.h
parent0cf780859cbce363a6e2cd4b8d19c5498a3530f5 (diff)
downloadlibnl-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/class.h')
-rw-r--r--include/netlink/route/class.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/netlink/route/class.h b/include/netlink/route/class.h
index a704ed1..012128b 100644
--- a/include/netlink/route/class.h
+++ b/include/netlink/route/class.h
@@ -26,7 +26,7 @@ extern struct nl_object_ops class_obj_ops;
extern struct rtnl_class * rtnl_class_alloc(void);
extern void rtnl_class_put(struct rtnl_class *);
-extern int rtnl_class_alloc_cache(struct nl_handle *, int,
+extern int rtnl_class_alloc_cache(struct nl_sock *, int,
struct nl_cache **);
/* leaf qdisc access */
@@ -35,7 +35,7 @@ extern struct rtnl_qdisc * rtnl_class_leaf_qdisc(struct rtnl_class *,
extern int rtnl_class_build_add_request(struct rtnl_class *, int,
struct nl_msg **);
-extern int rtnl_class_add(struct nl_handle *, struct rtnl_class *,
+extern int rtnl_class_add(struct nl_sock *, struct rtnl_class *,
int);
extern void rtnl_class_set_ifindex(struct rtnl_class *, int);