diff options
| author | Michael Biebl <biebl@debian.org> | 2023-02-23 17:12:30 +0100 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2023-02-23 17:12:30 +0100 |
| commit | 5569fe42f8ffe613b86ee3241676031d563cdd0c (patch) | |
| tree | e1dcb8326372e565ae2a565f588134e88e26a14b /src/libnm-base/nm-base.h | |
| parent | ed857ba34efc2ec899f2e3fbd8e35324561a55b2 (diff) | |
| parent | b22a7b55d0bc5a7999dccaeacdde745f5ace9d66 (diff) | |
Update upstream source from tag 'upstream/1.42.2'
Update to upstream version '1.42.2' with Debian dir 239b84111aa373a034bb59d3ca6082a9ddf36500
Diffstat (limited to 'src/libnm-base/nm-base.h')
| -rw-r--r-- | src/libnm-base/nm-base.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/libnm-base/nm-base.h b/src/libnm-base/nm-base.h index 74e8142f..77d2ef0a 100644 --- a/src/libnm-base/nm-base.h +++ b/src/libnm-base/nm-base.h @@ -423,4 +423,12 @@ typedef enum { NM_DNS_IP_CONFIG_TYPE_VPN, } NMDnsIPConfigType; +/*****************************************************************************/ + +#define NM_DHCP_IAID_TO_HEXSTR_BUF_LEN (3 * sizeof(guint32)) + +char *nm_dhcp_iaid_to_hexstr(guint32 iaid, char buf[static NM_DHCP_IAID_TO_HEXSTR_BUF_LEN]); + +gboolean nm_dhcp_iaid_from_hexstr(const char *str, guint32 *out_value); + #endif /* __NM_LIBNM_BASE_H__ */ |