1 /* The Definitions in this file are PRIVATE to the stack.
2 No user applications should access them since
3 they may and WILL change!! */
5 #ifndef __private_amiga_netdb_resolver_h
6 #define __private_amiga_netdb_resolver_h
8 #include <netinet/in.h>
10 #include <exec/lists.h>
11 #include <exec/nodes.h>
13 /* PRIVATE SocketBaseTags */
15 #define SBTC_PRIVATE_RES_STATE 0x3FFF /* Access to resolver state structure
18 #define PRIVATE_STACK_RESOLVER_DISABLED 0x8000 /* Used to Implement MiamiDisallowDNS() */
23 int retrans
; /* retransmition time interval */
24 int retry
; /* number of times to retransmit */
25 long options
; /* option flags - see below. */
26 u_short id
; /* current packet id */
29 struct in_addr
*nsaddr_list
;
32 /* Access control table item */
42 struct MinList ndb_Hosts
;
43 struct MinList ndb_Networks
;
44 struct MinList ndb_Services
;
45 struct MinList ndb_Protocols
;
46 struct MinList ndb_NameServers
;
47 struct MinList ndb_Domains
;
48 LONG ndb_AccessCount
; /* tmp var, but reduces code size */
49 struct AccessItem
* ndb_AccessTable
;
54 struct SignalSemaphore dyn_Lock
;
55 struct MinList dyn_NameServers
;
56 struct MinList dyn_Domains
;
60 * GenEnt has the common part of all NetDataBase Nodes
63 struct MinNode gn_Node
;
70 /* NetDataBase Nodes */
72 struct MinNode hn_Node
;
74 struct hostent hn_Ent
;
78 struct MinNode nn_Node
;
84 struct MinNode sn_Node
;
86 struct servent sn_Ent
;
90 struct MinNode pn_Node
;
92 struct protoent pn_Ent
;
95 struct NameserventNode
{
96 struct MinNode nsn_Node
;
99 struct in_addr ns_addr
;
103 struct DomainentNode
{
104 struct MinNode dn_Node
;