summaryrefslogtreecommitdiff
path: root/src/libsystemd/sd-netlink/netlink-internal.h
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2015-06-13 21:25:05 +0200
committerTom Gundersen <teg@jklm.no>2015-06-13 21:25:05 +0200
commitb95cc756de7a27f7546e42dd9acf6da0669da402 (patch)
tree5a192546c8c53815c29986c9ec3cd9dc5331c776 /src/libsystemd/sd-netlink/netlink-internal.h
parent89489ef7d451d61e176764deb608a84e29b1fd38 (diff)
sd-netlink: socket - move some functions from main source file
Diffstat (limited to 'src/libsystemd/sd-netlink/netlink-internal.h')
-rw-r--r--src/libsystemd/sd-netlink/netlink-internal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libsystemd/sd-netlink/netlink-internal.h b/src/libsystemd/sd-netlink/netlink-internal.h
index 763acbbb09..7290f4e875 100644
--- a/src/libsystemd/sd-netlink/netlink-internal.h
+++ b/src/libsystemd/sd-netlink/netlink-internal.h
@@ -113,6 +113,9 @@ struct sd_netlink_message {
int message_new(sd_netlink *rtnl, sd_netlink_message **ret, uint16_t type);
int message_new_empty(sd_netlink *rtnl, sd_netlink_message **ret);
+int socket_open(int family);
+int socket_bind(sd_netlink *nl);
+int socket_join_broadcast_group(sd_netlink *nl, unsigned group);
int socket_write_message(sd_netlink *nl, sd_netlink_message *m);
int socket_read_message(sd_netlink *nl);