diff options
author | Thomas Graf <tgraf@suug.ch> | 2011-03-24 19:57:43 (GMT) |
---|---|---|
committer | Thomas Graf <tgraf@suug.ch> | 2011-03-24 19:57:43 (GMT) |
commit | 8d5493418a5a82b5303722cd9b2964300813e693 (patch) | |
tree | d886e7d258becfbd8c26dc3fe043824839c70a57 /include | |
parent | a62bfdb8e0a1dffa7539fe813a96593c9c407686 (diff) | |
download | libnl-8d5493418a5a82b5303722cd9b2964300813e693.zip libnl-8d5493418a5a82b5303722cd9b2964300813e693.tar.gz libnl-8d5493418a5a82b5303722cd9b2964300813e693.tar.bz2 |
Cleanup <netlink/route/qdisc.h>
- remove dead prototypes
- reformat
Diffstat (limited to 'include')
-rw-r--r-- | include/netlink/route/qdisc.h | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/include/netlink/route/qdisc.h b/include/netlink/route/qdisc.h index 966eb44..a08fca1 100644 --- a/include/netlink/route/qdisc.h +++ b/include/netlink/route/qdisc.h @@ -6,7 +6,7 @@ * License as published by the Free Software Foundation version 2.1 * of the License. * - * Copyright (c) 2003-2008 Thomas Graf <tgraf@suug.ch> + * Copyright (c) 2003-2011 Thomas Graf <tgraf@suug.ch> */ #ifndef NETLINK_QDISC_H_ @@ -22,15 +22,17 @@ extern "C" { struct rtnl_qdisc; -extern struct nl_object_ops qdisc_obj_ops; - -extern struct rtnl_qdisc *rtnl_qdisc_alloc(void); +extern struct rtnl_qdisc * + rtnl_qdisc_alloc(void); extern void rtnl_qdisc_put(struct rtnl_qdisc *); extern int rtnl_qdisc_alloc_cache(struct nl_sock *, struct nl_cache **); -extern struct rtnl_qdisc *rtnl_qdisc_get(struct nl_cache *, int, uint32_t); -extern struct rtnl_qdisc *rtnl_qdisc_get_by_parent(struct nl_cache *, - int, uint32_t); + +extern struct rtnl_qdisc * + rtnl_qdisc_get(struct nl_cache *, int, uint32_t); + +extern struct rtnl_qdisc * + rtnl_qdisc_get_by_parent(struct nl_cache *, int, uint32_t); extern int rtnl_qdisc_build_add_request(struct rtnl_qdisc *, int, struct nl_msg **); @@ -46,8 +48,6 @@ extern int rtnl_qdisc_build_delete_request(struct rtnl_qdisc *, struct nl_msg **); extern int rtnl_qdisc_delete(struct nl_sock *, struct rtnl_qdisc *); -extern void rtnl_qdisc_set_kind(struct rtnl_qdisc *, const char *); - extern void rtnl_qdisc_foreach_child(struct rtnl_qdisc *, struct nl_cache *, void (*cb)(struct nl_object *, void *), void *); @@ -56,8 +56,6 @@ extern void rtnl_qdisc_foreach_cls(struct rtnl_qdisc *, struct nl_cache *, void (*cb)(struct nl_object *, void *), void *); -extern struct nl_msg * rtnl_qdisc_get_opts(struct rtnl_qdisc *); - #ifdef __cplusplus } #endif |