diff options
| author | Michael Biebl <biebl@debian.org> | 2019-07-31 10:51:42 +0200 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2019-07-31 10:51:42 +0200 |
| commit | 2e5fa45ddfbb5cffa1e78221f1cea706e2f298af (patch) | |
| tree | 86f69d36c56de3074280456eddc854a780b8e04b /shared/systemd/nm-sd-utils-shared.c | |
| parent | 85563b7fc7ec2cd21e38debb9b28db342e2e8e7c (diff) | |
New upstream version 1.19.90 upstream/1.19.90
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); +} |