1*de572d98SGarrett D'Amore# 2*de572d98SGarrett D'Amore# This file and its contents are supplied under the terms of the 3*de572d98SGarrett D'Amore# Common Development and Distribution License ("CDDL"), version 1.0. 4*de572d98SGarrett D'Amore# You may only use this file in accordance with the terms of version 5*de572d98SGarrett D'Amore# 1.0 of the CDDL. 6*de572d98SGarrett D'Amore# 7*de572d98SGarrett D'Amore# A full copy of the text of the CDDL should have accompanied this 8*de572d98SGarrett D'Amore# source. A copy of the CDDL is also available via the Internet at 9*de572d98SGarrett D'Amore# http://www.illumos.org/license/CDDL. 10*de572d98SGarrett D'Amore# 11*de572d98SGarrett D'Amore 12*de572d98SGarrett D'Amore# 13*de572d98SGarrett D'Amore# Copyright 2015 Garrett D'Amore <garrett@damore.org> 14*de572d98SGarrett D'Amore# 15*de572d98SGarrett D'Amore 16*de572d98SGarrett D'Amore# 17*de572d98SGarrett D'Amore# Definitions found in netdb.h 18*de572d98SGarrett D'Amore# 19*de572d98SGarrett D'Amore 20*de572d98SGarrett D'Amore# 21*de572d98SGarrett D'Amore# Types. 22*de572d98SGarrett D'Amore# 23*de572d98SGarrett D'Amore 24*de572d98SGarrett D'Amore# 25*de572d98SGarrett D'Amore# Values. 26*de572d98SGarrett D'Amore# 27*de572d98SGarrett D'Amore#value | h_errno | int | netdb.h | -ALL SUS+ -SUSv4+ 28*de572d98SGarrett D'Amore#value | HOST_NOT_FOUND | int | netdb.h | -ALL SUS+ -SUSv4+ 29*de572d98SGarrett D'Amore#value | NO_DATA | int | netdb.h | -ALL SUS+ -SUSv4+ 30*de572d98SGarrett D'Amore#value | NO_RECOVERY | int | netdb.h | -ALL SUS+ -SUSv4+ 31*de572d98SGarrett D'Amore#value | TRY_AGAIN | int | netdb.h | -ALL SUS+ -SUSv4+ 32*de572d98SGarrett D'Amore 33*de572d98SGarrett D'Amore# 34*de572d98SGarrett D'Amore# Functions 35*de572d98SGarrett D'Amore# 36*de572d98SGarrett D'Amore 37*de572d98SGarrett D'Amorefunc | endhostent |\ 38*de572d98SGarrett D'Amore void |\ 39*de572d98SGarrett D'Amore void |\ 40*de572d98SGarrett D'Amore netdb.h |\ 41*de572d98SGarrett D'Amore SUS+ 42*de572d98SGarrett D'Amore 43*de572d98SGarrett D'Amorefunc | gethostent |\ 44*de572d98SGarrett D'Amore struct hostent * |\ 45*de572d98SGarrett D'Amore void |\ 46*de572d98SGarrett D'Amore netdb.h |\ 47*de572d98SGarrett D'Amore SUS+ 48*de572d98SGarrett D'Amore 49*de572d98SGarrett D'Amorefunc | sethostent |\ 50*de572d98SGarrett D'Amore void |\ 51*de572d98SGarrett D'Amore int |\ 52*de572d98SGarrett D'Amore netdb.h |\ 53*de572d98SGarrett D'Amore SUS+ 54