diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2020-10-07 14:24:08 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2020-10-08 02:51:23 +0900 |
commit | de52a83cb78ad39ea9a8fdce867861af08831971 (patch) | |
tree | a01bb4fcf036db776b8e861ae324b181e696ffb3 /src/systemd | |
parent | 2fe1d557e51181f2124fd08b463edb8d4fe8daaf (diff) | |
download | systemd-de52a83cb78ad39ea9a8fdce867861af08831971.tar.gz |
sd-netlink: introduce sd_netlink_message_read_data()
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 ce7ed36d85..e01d960e37 100644 --- a/src/systemd/sd-netlink.h +++ b/src/systemd/sd-netlink.h @@ -103,6 +103,7 @@ int sd_netlink_message_open_container_union(sd_netlink_message *m, unsigned shor int sd_netlink_message_close_container(sd_netlink_message *m); int sd_netlink_message_read(sd_netlink_message *m, unsigned short type, size_t size, void *data); +int sd_netlink_message_read_data(sd_netlink_message *m, unsigned short type, size_t *ret_size, void **ret_data); int sd_netlink_message_read_string_strdup(sd_netlink_message *m, unsigned short type, char **data); int sd_netlink_message_read_string(sd_netlink_message *m, unsigned short type, const char **data); int sd_netlink_message_read_strv(sd_netlink_message *m, unsigned short container_type, unsigned short type_id, char ***ret); |