diff options
| author | Sebastien Bacher <seb128@ubuntu.com> | 2019-08-09 11:09:27 +0200 |
|---|---|---|
| committer | Sebastien Bacher <seb128@ubuntu.com> | 2019-08-09 11:18:39 +0200 |
| commit | 820498b2158e0b05421ce0922f203a0699927fa8 (patch) | |
| tree | 3bf6d1089b762535ec5e59738d47ae2d2f54750f /shared/systemd/nm-sd-utils-shared.c | |
| parent | 1bd9f376796563dfb5016bada66c78b203f41d33 (diff) | |
| parent | 488dda3930545969f5644b57cfca81e21df031c3 (diff) | |
Merge remote-tracking branch 'salsa/master'
Diffstat (limited to 'shared/systemd/nm-sd-utils-shared.c')
| -rw-r--r-- | shared/systemd/nm-sd-utils-shared.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/shared/systemd/nm-sd-utils-shared.c b/shared/systemd/nm-sd-utils-shared.c index ecd27492..7206fa52 100644 --- a/shared/systemd/nm-sd-utils-shared.c +++ b/shared/systemd/nm-sd-utils-shared.c @@ -24,6 +24,11 @@ #include "path-util.h" #include "hexdecoct.h" +#include "dns-domain.h" + +/*****************************************************************************/ + +const bool mempool_use_allowed = true; /*****************************************************************************/ @@ -83,3 +88,11 @@ nm_sd_utils_unbase64mem (const char *p, { return unbase64mem_full (p, l, secure, (void **) mem, len); } + +int nm_sd_dns_name_to_wire_format (const char *domain, + guint8 *buffer, + size_t len, + gboolean canonical) +{ + return dns_name_to_wire_format (domain, buffer, len, canonical); +} |