summaryrefslogtreecommitdiffstats
path: root/include/netlink/cache.h
diff options
context:
space:
mode:
authorThomas Graf <tgr@lsx.localdomain>2008-05-15 13:26:32 +0200
committerThomas Graf <tgr@lsx.localdomain>2008-05-15 13:26:32 +0200
commit1155370f520cb64657e25153255cf7dc1424317f (patch)
treebfa1323d2495dfe5729eb27d0536d4349f2a9d86 /include/netlink/cache.h
parent0cf780859cbce363a6e2cd4b8d19c5498a3530f5 (diff)
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/cache.h')
-rw-r--r--include/netlink/cache.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/netlink/cache.h b/include/netlink/cache.h
index 604a56f..f4db3b9 100644
--- a/include/netlink/cache.h
+++ b/include/netlink/cache.h
@@ -38,7 +38,7 @@ extern struct nl_object * nl_cache_get_prev(struct nl_object *);
extern struct nl_cache * nl_cache_alloc(struct nl_cache_ops *);
extern int nl_cache_alloc_and_fill(struct nl_cache_ops *,
- struct nl_handle *,
+ struct nl_sock *,
struct nl_cache **);
extern int nl_cache_alloc_name(const char *,
struct nl_cache **);
@@ -53,11 +53,11 @@ extern int nl_cache_add(struct nl_cache *,
extern int nl_cache_parse_and_add(struct nl_cache *,
struct nl_msg *);
extern void nl_cache_remove(struct nl_object *);
-extern int nl_cache_refill(struct nl_handle *,
+extern int nl_cache_refill(struct nl_sock *,
struct nl_cache *);
-extern int nl_cache_pickup(struct nl_handle *,
+extern int nl_cache_pickup(struct nl_sock *,
struct nl_cache *);
-extern int nl_cache_resync(struct nl_handle *,
+extern int nl_cache_resync(struct nl_sock *,
struct nl_cache *,
change_func_t);
extern int nl_cache_include(struct nl_cache *,
@@ -106,7 +106,7 @@ struct nl_cache_mngr;
#define NL_AUTO_PROVIDE 1
-extern int nl_cache_mngr_alloc(struct nl_handle *,
+extern int nl_cache_mngr_alloc(struct nl_sock *,
int, int,
struct nl_cache_mngr **);
extern int nl_cache_mngr_add(struct nl_cache_mngr *,