diff options
author | Florian Weimer <fweimer@redhat.com> | 2017-03-10 20:45:25 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2017-03-10 20:45:25 +0100 |
commit | ddd21a211369658bc087cc5c56cd577bb8370857 (patch) | |
tree | d6b0a5128122316f5daa610dad4abc36325fdab7 /resolv/resolv-internal.h | |
parent | 60f9423b6b02d79f8fef65552ecd21e0fd097774 (diff) | |
download | glibc-fw/out_buffer.tar.gz |
WIP struct out_bufferfw/out_buffer
Diffstat (limited to 'resolv/resolv-internal.h')
-rw-r--r-- | resolv/resolv-internal.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/resolv/resolv-internal.h b/resolv/resolv-internal.h index 99fc17c609..0453906599 100644 --- a/resolv/resolv-internal.h +++ b/resolv/resolv-internal.h @@ -32,4 +32,16 @@ res_use_inet6 (void) return _res.options & DEPRECATED_RES_USE_INET6; } +struct out_buffer; + +/* Convert the expanded domain name at SRC from wire format to text + format. Use storage in *DST. Return a pointer to data in *DST, or + NULL on error (and sets errno to EMSGSIZE). */ +char *__ns_name_ntop_buffer (struct out_buffer *, const u_char *) + __THROW internal_function; +libresolv_hidden_proto (__ns_name_ntop_buffer) + +int __ns_name_unpack (const u_char *, const u_char *, + const u_char *, u_char *, size_t) __THROW; + #endif /* _RESOLV_INTERNAL_H */ |