summaryrefslogtreecommitdiff
path: root/src/systemd
diff options
context:
space:
mode:
authorSusant Sahani <ssahani@gmail.com>2015-07-29 11:59:16 +0530
committerSven Eden <yamakuzure@gmx.net>2017-03-14 10:07:20 +0100
commitd78f66f754716d82da11dd60c23e514d0603af6f (patch)
treef45160ce3e785b2d384736dfad790dddddd341a2 /src/systemd
parent584f41a866c8c4c4e8ccc40d3ee39ccbee3ded76 (diff)
sd-netlink: introduce api for new NL type NLA_FLAG
Diffstat (limited to 'src/systemd')
-rw-r--r--src/systemd/sd-netlink.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/systemd/sd-netlink.h b/src/systemd/sd-netlink.h
index 3733673d0..33d851566 100644
--- a/src/systemd/sd-netlink.h
+++ b/src/systemd/sd-netlink.h
@@ -70,6 +70,7 @@ int sd_netlink_attach_event(sd_netlink *nl, sd_event *e, int priority);
int sd_netlink_detach_event(sd_netlink *nl);
int sd_netlink_message_append_string(sd_netlink_message *m, unsigned short type, const char *data);
+int sd_netlink_message_append_flag(sd_netlink_message *m, unsigned short type);
int sd_netlink_message_append_u8(sd_netlink_message *m, unsigned short type, uint8_t data);
int sd_netlink_message_append_u16(sd_netlink_message *m, unsigned short type, uint16_t data);
int sd_netlink_message_append_u32(sd_netlink_message *m, unsigned short type, uint32_t data);