summaryrefslogtreecommitdiffstats
path: root/include/netlink/genl/ctrl.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/netlink/genl/ctrl.h')
-rw-r--r--include/netlink/genl/ctrl.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/netlink/genl/ctrl.h b/include/netlink/genl/ctrl.h
index 5d65c68..1ae62f4 100644
--- a/include/netlink/genl/ctrl.h
+++ b/include/netlink/genl/ctrl.h
@@ -6,7 +6,7 @@
* License as published by the Free Software Foundation version 2.1
* of the License.
*
- * Copyright (c) 2003-2006 Thomas Graf <tgraf@suug.ch>
+ * Copyright (c) 2003-2008 Thomas Graf <tgraf@suug.ch>
*/
#ifndef NETLINK_GENL_CTRL_H_
@@ -22,11 +22,12 @@ extern "C" {
struct genl_family;
-extern struct nl_cache * genl_ctrl_alloc_cache(struct nl_handle *);
+extern int genl_ctrl_alloc_cache(struct nl_sock *,
+ struct nl_cache **);
extern struct genl_family * genl_ctrl_search(struct nl_cache *, int);
extern struct genl_family * genl_ctrl_search_by_name(struct nl_cache *,
const char *);
-extern int genl_ctrl_resolve(struct nl_handle *,
+extern int genl_ctrl_resolve(struct nl_sock *,
const char *);
#ifdef __cplusplus