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

#ifndef __TDF_BSD_EXTN_NETDB_H
#define __TDF_BSD_EXTN_NETDB_H

#ifdef __cplusplus
extern "C" {
#endif

#pragma TenDRA declaration block api__bsd_extn__netdb begin

#pragma token STRUCT TAG hostent # bsd_extn.netdb.hostent
#pragma token MEMBER char * : struct hostent : h_name # bsd_extn.netdb.hostent.h_name
#pragma token MEMBER char ** : struct hostent : h_aliases # bsd_extn.netdb.hostent.h_aliases
#pragma token MEMBER int : struct hostent : h_addrtype # bsd_extn.netdb.hostent.h_addrtype
#pragma token MEMBER int : struct hostent : h_length # bsd_extn.netdb.hostent.h_length
#pragma token MEMBER char ** : struct hostent : h_addr_list # bsd_extn.netdb.hostent.h_addr_list
#pragma token FUNC struct hostent * (void) : gethostent # bsd_extn.netdb.gethostent
#pragma token FUNC struct hostent * (const char *, int, int) : gethostbyaddr # bsd_extn.netdb.gethostbyaddr
#pragma token FUNC struct hostent * (const char *) : gethostbyname # bsd_extn.netdb.gethostbyname
#pragma token FUNC int (int) : sethostent # bsd_extn.netdb.sethostent
#pragma token FUNC int (void) : endhostent # bsd_extn.netdb.endhostent
#pragma token STRUCT TAG netent # bsd_extn.netdb.netent
#pragma token MEMBER char * : struct netent : n_name # bsd_extn.netdb.netent.n_name
#pragma token MEMBER char ** : struct netent : n_aliases # bsd_extn.netdb.netent.n_aliases
#pragma token MEMBER int : struct netent : n_addrtype # bsd_extn.netdb.netent.n_addrtype
#pragma token MEMBER unsigned long : struct netent : n_net # bsd_extn.netdb.netent.n_net
#pragma token FUNC struct netent * (void) : getnetent # bsd_extn.netdb.getnetent
#pragma token FUNC struct netent * (long, int) : getnetbyaddr # bsd_extn.netdb.getnetbyaddr
#pragma token FUNC struct netent * (const char *) : getnetbyname # bsd_extn.netdb.getnetbyname
#pragma token FUNC int (int) : setnetent # bsd_extn.netdb.setnetent
#pragma token FUNC int (void) : endnetent # bsd_extn.netdb.endnetent
#pragma token STRUCT TAG protoent # bsd_extn.netdb.protoent
#pragma token MEMBER char * : struct protoent : p_name # bsd_extn.netdb.protoent.p_name
#pragma token MEMBER char ** : struct protoent : p_aliases # bsd_extn.netdb.protoent.p_aliases
#pragma token MEMBER int : struct protoent : p_proto # bsd_extn.netdb.protoent.p_proto
#pragma token FUNC struct protoent * (void) : getprotoent # bsd_extn.netdb.getprotoent
#pragma token FUNC struct protoent * (const char *) : getprotobyname # bsd_extn.netdb.getprotobyname
#pragma token FUNC struct protoent * (int) : getprotobynumber # bsd_extn.netdb.getprotobynumber
#pragma token FUNC int (int) : setprotoent # bsd_extn.netdb.setprotoent
#pragma token FUNC int (void) : endprotoent # bsd_extn.netdb.endprotoent
#pragma token STRUCT TAG servent # bsd_extn.netdb.servent
#pragma token MEMBER char * : struct servent : s_name # bsd_extn.netdb.servent.s_name
#pragma token MEMBER char ** : struct servent : s_aliases # bsd_extn.netdb.servent.s_aliases
#pragma token MEMBER int : struct servent : s_port # bsd_extn.netdb.servent.s_port
#pragma token MEMBER char * : struct servent : s_proto # bsd_extn.netdb.servent.s_proto
#pragma token FUNC struct servent * (void) : getservent # bsd_extn.netdb.getservent
#pragma token FUNC struct servent * (const char *, const char *) : getservbyname # bsd_extn.netdb.getservbyname
#pragma token FUNC struct servent * (int, const char *) : getservbyport # bsd_extn.netdb.getservbyport
#pragma token FUNC int (int) : setservent # bsd_extn.netdb.setservent
#pragma token FUNC int (void) : endservent # bsd_extn.netdb.endservent
#pragma token FUNC int (char **, unsigned short, const char *, const char *, const char *, int *) : rcmd # bsd_extn.netdb.rcmd
#pragma token FUNC int (int *) : rresvport # bsd_extn.netdb.rresvport
#pragma token FUNC int (const char *, int, const char *, const char *) : ruserok # bsd_extn.netdb.ruserok
#pragma token FUNC int (char **, unsigned short, const char *, const char *, const char *, int *) : rexec # bsd_extn.netdb.rexec

#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 gethostent gethostbyaddr
#pragma interface gethostbyname sethostent endhostent TAG netent
#pragma interface TAG netent.n_name TAG netent.n_aliases
#pragma interface TAG netent.n_addrtype TAG netent.n_net getnetent
#pragma interface getnetbyaddr getnetbyname setnetent endnetent TAG protoent
#pragma interface TAG protoent.p_name TAG protoent.p_aliases
#pragma interface TAG protoent.p_proto getprotoent getprotobyname
#pragma interface getprotobynumber setprotoent endprotoent TAG servent
#pragma interface TAG servent.s_name TAG servent.s_aliases
#pragma interface TAG servent.s_port TAG servent.s_proto getservent
#pragma interface getservbyname getservbyport setservent endservent rcmd
#pragma interface rresvport ruserok rexec

#pragma TenDRA declaration block end

#ifdef __cplusplus
}
#endif

#endif /* __TDF_BSD_EXTN_NETDB_H */
