diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2020-05-22 11:30:49 +0200 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2020-06-04 11:16:15 +0200 |
commit | 7be3261222875167267348d43ad46b5e33b6535e (patch) | |
tree | 9f963c944f68b0fc536b8ffc92de9ed2c040cef0 /src/systemd/sd-dhcp-client.h | |
parent | aaec2d7b9b4756e5600d132e1a179f8bdce99945 (diff) | |
download | systemd-7be3261222875167267348d43ad46b5e33b6535e.tar.gz |
sd-dhcp-client: add sd_dhcp_client_id_to_string()
Add a human-friendly pretty-printer for client ID.
Diffstat (limited to 'src/systemd/sd-dhcp-client.h')
-rw-r--r-- | src/systemd/sd-dhcp-client.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/systemd/sd-dhcp-client.h b/src/systemd/sd-dhcp-client.h index 85b49bae74..ac3b5b369c 100644 --- a/src/systemd/sd-dhcp-client.h +++ b/src/systemd/sd-dhcp-client.h @@ -205,6 +205,8 @@ sd_dhcp_client *sd_dhcp_client_unref(sd_dhcp_client *client); * options when using RFC7844 Anonymity Profiles */ int sd_dhcp_client_new(sd_dhcp_client **ret, int anonymize); +int sd_dhcp_client_id_to_string(const void *data, size_t len, char **ret); + int sd_dhcp_client_attach_event( sd_dhcp_client *client, sd_event *event, |