diff options
author | Susant Sahani <ssahani@gmail.com> | 2015-11-28 08:01:06 +0530 |
---|---|---|
committer | Susant Sahani <ssahani@gmail.com> | 2016-01-19 12:17:54 +0530 |
commit | 17af840b1df9ca3664b96bbc2414702b47658049 (patch) | |
tree | 09cde8839a7987d9f1330816b2f2293b3d3f1918 /src/systemd | |
parent | bcbd1d0cd5a1e6ff068f251c99ed7905223fed67 (diff) | |
download | systemd-17af840b1df9ca3664b96bbc2414702b47658049.tar.gz |
sd-netlink introduce API to add any size and type
Now we dont have any public API that will support
any size . sd_netlink_message_append_data will support
this.
Diffstat (limited to 'src/systemd')
-rw-r--r-- | src/systemd/sd-netlink.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/systemd/sd-netlink.h b/src/systemd/sd-netlink.h index 98088f1204..5d0d0643e1 100644 --- a/src/systemd/sd-netlink.h +++ b/src/systemd/sd-netlink.h @@ -74,6 +74,7 @@ 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); +int sd_netlink_message_append_data(sd_netlink_message *m, unsigned short type, const void *data, size_t len); int sd_netlink_message_append_in_addr(sd_netlink_message *m, unsigned short type, const struct in_addr *data); int sd_netlink_message_append_in6_addr(sd_netlink_message *m, unsigned short type, const struct in6_addr *data); int sd_netlink_message_append_ether_addr(sd_netlink_message *m, unsigned short type, const struct ether_addr *data); |