summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJiri Pirko <jpirko@redhat.com>2011-08-30 16:31:47 (GMT)
committerThomas Graf <tgraf@lsx.localdomain>2011-08-31 07:23:58 (GMT)
commit6faeffe64acd7d94f152afbb99ab811949308b11 (patch)
treec2353df8d4643ce4500c8b4f58fcb75d86f0948f /include
parenteabb7539dd6cae2387888b6e9e7bcaedee488e3f (diff)
downloadlibnl-6faeffe64acd7d94f152afbb99ab811949308b11.zip
libnl-6faeffe64acd7d94f152afbb99ab811949308b11.tar.gz
libnl-6faeffe64acd7d94f152afbb99ab811949308b11.tar.bz2
socket: introduce nl_socket_modify_err_cb
This function does the same as nl_socket_modify_cb except for error callback Signed-off-by: Jiri Pirko <jpirko@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/netlink/socket.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/netlink/socket.h b/include/netlink/socket.h
index f0062b5..d0f5a6a 100644
--- a/include/netlink/socket.h
+++ b/include/netlink/socket.h
@@ -45,6 +45,8 @@ extern void nl_socket_set_cb(struct nl_sock *,
extern int nl_socket_modify_cb(struct nl_sock *, enum nl_cb_type,
enum nl_cb_kind,
nl_recvmsg_msg_cb_t, void *);
+extern int nl_socket_modify_err_cb(struct nl_sock *, enum nl_cb_kind,
+ nl_recvmsg_err_cb_t, void *);
extern int nl_socket_set_buffer_size(struct nl_sock *, int, int);
extern int nl_socket_set_passcred(struct nl_sock *, int);