src/resolve/resolved-util.h
raw| 1 | /* SPDX-License-Identifier: LGPL-2.1-or-later */ |
| 2 | #pragma once |
| 3 | |
| 4 | #include "sd-dlopen.h" |
| 5 | |
| 6 | #if ENABLE_DNS_OVER_TLS |
| 7 | # define DLOPEN_LIBCRYPTO_PRIORITY SD_ELF_NOTE_DLOPEN_PRIORITY_REQUIRED |
| 8 | #else |
| 9 | # define DLOPEN_LIBCRYPTO_PRIORITY SD_ELF_NOTE_DLOPEN_PRIORITY_RECOMMENDED |
| 10 | #endif |
| 11 | |
| 12 | int resolve_system_hostname(char **full_hostname, char **first_label); |