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/handlers.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/handlers.h')
-rw-r--r-- | include/netlink/handlers.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/netlink/handlers.h b/include/netlink/handlers.h index ebcf911..38c9ba0 100644 --- a/include/netlink/handlers.h +++ b/include/netlink/handlers.h @@ -23,7 +23,7 @@ extern "C" { #endif struct nl_cb; -struct nl_handle; +struct nl_sock; struct nl_msg; /** @@ -143,15 +143,15 @@ extern int nl_cb_err(struct nl_cb *, enum nl_cb_kind, nl_recvmsg_err_cb_t, void *); extern void nl_cb_overwrite_recvmsgs(struct nl_cb *, - int (*func)(struct nl_handle *, + int (*func)(struct nl_sock *, struct nl_cb *)); extern void nl_cb_overwrite_recv(struct nl_cb *, - int (*func)(struct nl_handle *, + int (*func)(struct nl_sock *, struct sockaddr_nl *, unsigned char **, struct ucred **)); extern void nl_cb_overwrite_send(struct nl_cb *, - int (*func)(struct nl_handle *, + int (*func)(struct nl_sock *, struct nl_msg *)); #ifdef __cplusplus |