summaryrefslogtreecommitdiff
path: root/src/libsystemd-network/dhcp-identifier.h
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2022-02-07 15:08:27 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2022-02-14 14:58:49 +0900
commitf9971018ebe3d5c2bdaf85b752cfb06348f18c61 (patch)
treeef36c779265d9845757b3d97c39e701f7b26eeda /src/libsystemd-network/dhcp-identifier.h
parent6f3fc8613133436f948ca38b125bd14650d6afce (diff)
downloadsystemd-f9971018ebe3d5c2bdaf85b752cfb06348f18c61.tar.gz
dhcp-identifier: introduce duid_type_to_string()
Diffstat (limited to 'src/libsystemd-network/dhcp-identifier.h')
-rw-r--r--src/libsystemd-network/dhcp-identifier.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libsystemd-network/dhcp-identifier.h b/src/libsystemd-network/dhcp-identifier.h
index 6c24af0326..31a96b20b3 100644
--- a/src/libsystemd-network/dhcp-identifier.h
+++ b/src/libsystemd-network/dhcp-identifier.h
@@ -60,3 +60,5 @@ int dhcp_identifier_set_duid_ll(struct duid *duid, const uint8_t *addr, size_t a
int dhcp_identifier_set_duid_en(struct duid *duid, size_t *len);
int dhcp_identifier_set_duid_uuid(struct duid *duid, size_t *len);
int dhcp_identifier_set_iaid(int ifindex, const uint8_t *mac, size_t mac_len, bool legacy_unstable_byteorder, bool use_mac, void *_id);
+
+const char *duid_type_to_string(DUIDType t) _const_;