Changeset 331 for EcnlProtoTool/trunk/musl-1.1.18/include/netdb.h
- Timestamp:
- Jan 21, 2018, 12:10:09 AM (6 years ago)
- Location:
- EcnlProtoTool/trunk/musl-1.1.18
- Files:
-
- 1 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
EcnlProtoTool/trunk/musl-1.1.18/include/netdb.h
r321 r331 14 14 #endif 15 15 16 struct addrinfo 17 { 16 struct addrinfo { 18 17 int ai_flags; 19 18 int ai_family; … … 25 24 struct addrinfo *ai_next; 26 25 }; 27 28 #define IPPORT_RESERVED 102429 26 30 27 #define AI_PASSIVE 0x01 … … 63 60 /* Legacy functions follow (marked OBsolete in SUS) */ 64 61 65 struct netent 66 { 62 struct netent { 67 63 char *n_name; 68 64 char **n_aliases; … … 71 67 }; 72 68 73 struct hostent 74 { 69 struct hostent { 75 70 char *h_name; 76 71 char **h_aliases; … … 81 76 #define h_addr h_addr_list[0] 82 77 83 struct servent 84 { 78 struct servent { 85 79 char *s_name; 86 80 char **s_aliases; … … 89 83 }; 90 84 91 struct protoent 92 { 85 struct protoent { 93 86 char *p_name; 94 87 char **p_aliases;
Note:
See TracChangeset
for help on using the changeset viewer.