1 #ifndef __WINE_WINE_WINSOCK16_H
2 #define __WINE_WINE_WINSOCK16_H
7 /* ws_hostent16, ws_protoent16, ws_servent16, ws_netent16
8 * are 1-byte aligned here ! */
9 typedef struct ws_hostent16
11 SEGPTR h_name; /* official name of host */
12 SEGPTR h_aliases; /* alias list */
13 INT16 h_addrtype; /* host address type */
14 INT16 h_length; /* length of address */
15 SEGPTR h_addr_list; /* list of addresses from name server */
18 typedef struct ws_protoent16
20 SEGPTR p_name; /* official protocol name */
21 SEGPTR p_aliases; /* alias list */
22 INT16 p_proto; /* protocol # */
25 typedef struct ws_servent16
27 SEGPTR s_name; /* official service name */
28 SEGPTR s_aliases; /* alias list */
29 INT16 s_port; /* port # */
30 SEGPTR s_proto; /* protocol to use */
33 typedef struct ws_netent16
35 SEGPTR n_name; /* official name of net */
36 SEGPTR n_aliases; /* alias list */
37 INT16 n_addrtype; /* net address type */
38 INT n_net; /* network # */
43 #endif /* __WINE_WINE_WINSOCK16_H */