diff options
author | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2022-03-07 14:08:51 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2022-03-22 19:39:17 +0530 |
commit | 26dea461191cca519b498890a9682fe4bc8e4c2f (patch) | |
tree | 2560fa5912b4313e1fd052a73ce26e0f85138418 /COPYING.LIB | |
parent | 8d6cf99f2fb81a097f9334c125e5c23604af1a98 (diff) | |
download | glibc-26dea461191cca519b498890a9682fe4bc8e4c2f.zip glibc-26dea461191cca519b498890a9682fe4bc8e4c2f.tar.gz glibc-26dea461191cca519b498890a9682fe4bc8e4c2f.tar.bz2 |
gaih_inet: make numeric lookup a separate routine
Introduce the gaih_result structure and general paradigm for cleanups
that follow to process the lookup request and return a result. A lookup
function (like text_to_binary_address), should return an integer error
code and set members of gaih_result based on what it finds. If the
function does not have a result and no errors have occurred during the
lookup, it should return 0 and res.at should be set to NULL, allowing a
subsequent function to do the lookup until we run out of options.
Signed-off-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
Reviewed-by: DJ Delorie <dj@redhat.com>
Diffstat (limited to 'COPYING.LIB')
0 files changed, 0 insertions, 0 deletions