summaryrefslogtreecommitdiffstats
path: root/include/netlink/netlink.h
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2011-03-25 17:11:52 (GMT)
committerThomas Graf <tgraf@suug.ch>2011-03-25 17:11:52 (GMT)
commit23845e942cc8fdad05f722b384266cb0a166edc3 (patch)
tree4d1c4d4b920944e092a2baa60f119782c747f575 /include/netlink/netlink.h
parent7e9d5f69e54d209955f3a0154751e1a526a69c9f (diff)
downloadlibnl-23845e942cc8fdad05f722b384266cb0a166edc3.zip
libnl-23845e942cc8fdad05f722b384266cb0a166edc3.tar.gz
libnl-23845e942cc8fdad05f722b384266cb0a166edc3.tar.bz2
Add nl_send_sync()
Function which sends message using nl_send_auto(), frees the message and waits for ACK/error message (if auto-ack is not disabled).
Diffstat (limited to 'include/netlink/netlink.h')
-rw-r--r--include/netlink/netlink.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/netlink/netlink.h b/include/netlink/netlink.h
index 099a83e..a13c48f 100644
--- a/include/netlink/netlink.h
+++ b/include/netlink/netlink.h
@@ -59,6 +59,7 @@ extern void nl_auto_complete(struct nl_sock *,
extern int nl_send_auto(struct nl_sock *, struct nl_msg *);
extern int nl_send_auto_complete(struct nl_sock *,
struct nl_msg *);
+extern int nl_send_sync(struct nl_sock *, struct nl_msg *);
extern int nl_send_simple(struct nl_sock *, int, int,
void *, size_t);