/*
    AUTOMATICALLY GENERATED BY tspec 2.10
    API SUBSET: unix95:netdb.h (VERSION 2.7)
*/

#ifndef __TDF_UNIX95_NETDB_H
#define __TDF_UNIX95_NETDB_H

#ifdef __cplusplus
extern "C" {
#endif

#pragma TenDRA declaration block api__unix95__netdb begin

#ifndef __TDF_ANSI_STDDEF_H_SIZE_T
#pragma extend interface "../shared/ansi.api/size_t.h"
#endif /* __TDF_ANSI_STDDEF_H_SIZE_T */
#ifndef __TDF_UNIX95_NETINET_IN_H_IN_T
#pragma extend interface "../shared/unix95.api/in_t.h"
#endif /* __TDF_UNIX95_NETINET_IN_H_IN_T */
#pragma token STRUCT TAG hostent # unix95.netdb.hostent
#pragma token MEMBER char * : struct hostent : h_name # unix95.netdb.hostent.h_name
#pragma token MEMBER char ** : struct hostent : h_aliases # unix95.netdb.hostent.h_aliases
#pragma token MEMBER int : struct hostent : h_addrtype # unix95.netdb.hostent.h_addrtype
#pragma token MEMBER int : struct hostent : h_length # unix95.netdb.hostent.h_length
#pragma token MEMBER char ** : struct hostent : h_addr_list # unix95.netdb.hostent.h_addr_list
#pragma token STRUCT TAG netent # unix95.netdb.netent
#pragma token MEMBER char * : struct netent : n_name # unix95.netdb.netent.n_name
#pragma token MEMBER char ** : struct netent : n_aliases # unix95.netdb.netent.n_aliases
#pragma token MEMBER int : struct netent : n_addrtype # unix95.netdb.netent.n_addrtype
#pragma token MEMBER in_addr_t : struct netent : n_net # unix95.netdb.netent.n_net
#pragma token STRUCT TAG protoent # unix95.netdb.protoent
#pragma token MEMBER char * : struct protoent : p_name # unix95.netdb.protoent.p_name
#pragma token MEMBER char ** : struct protoent : p_aliases # unix95.netdb.protoent.p_aliases
#pragma token MEMBER int : struct protoent : p_proto # unix95.netdb.protoent.p_proto
#pragma token STRUCT TAG servent # unix95.netdb.servent
#pragma token MEMBER char * : struct servent : s_name # unix95.netdb.servent.s_name
#pragma token MEMBER char ** : struct servent : s_aliases # unix95.netdb.servent.s_aliases
#pragma token MEMBER int : struct servent : s_port # unix95.netdb.servent.s_port
#pragma token MEMBER char * : struct servent : s_proto # unix95.netdb.servent.s_proto
#pragma token EXP const : int : IPPORT_RESERVED # unix95.netdb.IPPORT_RESERVED
extern int h_errno;
#pragma token EXP const : int : HOST_NOT_FOUND # unix95.netdb.HOST_NOT_FOUND
#pragma token EXP const : int : NO_DATA # unix95.netdb.NO_DATA
#pragma token EXP const : int : NO_RECOVERY # unix95.netdb.NO_RECOVERY
#pragma token EXP const : int : TRY_AGAIN # unix95.netdb.TRY_AGAIN
#pragma token FUNC void (void) : endhostent # unix95.netdb.endhostent
#pragma token FUNC void (void) : endnetent # unix95.netdb.endnetent
#pragma token FUNC void (void) : endprotoent # unix95.netdb.endprotoent
#pragma token FUNC void (void) : endservent # unix95.netdb.endservent
#pragma token FUNC struct hostent * (const void *, size_t, int) : gethostbyaddr # unix95.netdb.gethostbyaddr
#pragma token FUNC struct hostent * (const char *) : gethostbyname # unix95.netdb.gethostbyname
#pragma token FUNC struct hostent * (void) : gethostent # unix95.netdb.gethostent
#pragma token FUNC struct netent * (in_addr_t, int) : getnetbyaddr # unix95.netdb.getnetbyaddr
#pragma token FUNC struct netent * (const char *) : getnetbyname # unix95.netdb.getnetbyname
#pragma token FUNC struct netent * (void) : getnetent # unix95.netdb.getnetent
#pragma token FUNC struct protoent * (const char *) : getprotobyname # unix95.netdb.getprotobyname
#pragma token FUNC struct protoent * (int) : getprotobynumber # unix95.netdb.getprotobynumber
#pragma token FUNC struct protoent * (void) : getprotoent # unix95.netdb.getprotoent
#pragma token FUNC struct servent * (const char *, const char *) : getservbyname # unix95.netdb.getservbyname
#pragma token FUNC struct servent * (int, const char *) : getservbyport # unix95.netdb.getservbyport
#pragma token FUNC struct servent * (void) : getservent # unix95.netdb.getservent
#pragma token FUNC void (int) : sethostent # unix95.netdb.sethostent
#pragma token FUNC void (int) : setnetent # unix95.netdb.setnetent
#pragma token FUNC void (int) : setprotoent # unix95.netdb.setprotoent
#pragma token FUNC void (int) : setservent # unix95.netdb.setservent

#pragma interface TAG hostent TAG hostent.h_name TAG hostent.h_aliases
#pragma interface TAG hostent.h_addrtype TAG hostent.h_length
#pragma interface TAG hostent.h_addr_list TAG netent TAG netent.n_name
#pragma interface TAG netent.n_aliases TAG netent.n_addrtype
#pragma interface TAG netent.n_net TAG protoent TAG protoent.p_name
#pragma interface TAG protoent.p_aliases TAG protoent.p_proto TAG servent
#pragma interface TAG servent.s_name TAG servent.s_aliases
#pragma interface TAG servent.s_port TAG servent.s_proto IPPORT_RESERVED
#pragma interface HOST_NOT_FOUND NO_DATA NO_RECOVERY TRY_AGAIN endhostent
#pragma interface endnetent endprotoent endservent gethostbyaddr
#pragma interface gethostbyname gethostent getnetbyaddr getnetbyname
#pragma interface getnetent getprotobyname getprotobynumber getprotoent
#pragma interface getservbyname getservbyport getservent sethostent
#pragma interface setnetent setprotoent setservent

#pragma TenDRA declaration block end

#ifdef __cplusplus
}
#endif

#endif /* __TDF_UNIX95_NETDB_H */
