diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-07-18 12:34:02 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-07-18 12:38:32 +0200 |
commit | 1716f6dcf54d4c181c2e2558e3d5414f54c8d9ca (patch) | |
tree | 32dd8c93d766d205354d72eea44fee55a2d9a55b /src/shared/in-addr-util.h | |
parent | shared: rename PROTO_ADDRESS_SIZE() to FAMILY_ADDRESS_SIZE() (diff) | |
download | systemd-1716f6dcf54d4c181c2e2558e3d5414f54c8d9ca.tar.xz systemd-1716f6dcf54d4c181c2e2558e3d5414f54c8d9ca.zip |
resolved: add LLMNR support for looking up names
Diffstat (limited to '')
-rw-r--r-- | src/shared/in-addr-util.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/shared/in-addr-util.h b/src/shared/in-addr-util.h index aae1f16608..6cfdb14a89 100644 --- a/src/shared/in-addr-util.h +++ b/src/shared/in-addr-util.h @@ -43,3 +43,6 @@ static inline size_t FAMILY_ADDRESS_SIZE(int family) { assert(family == AF_INET || family == AF_INET6); return family == AF_INET6 ? 16 : 4; } + +const char* family_to_string(int i) _const_; +int family_from_string(const char *s) _pure_; |