v2 / vlib / v / tests / printing / dump_c_structs / netdb.h
9 lines · 8 sloc · 364 bytes · 6488041a749df9762348d019c4223908c476f2e2
Raw
1
2/* Description of data base entry for a single host. */
3struct zz_hostent {
4 char *h_name; /* Official name of host. */
5 char **h_aliases; /* Alias list. */
6 int h_addrtype; /* Host address type. */
7 int h_length; /* Length of address. */
8 char **h_addr_list; /* List of addresses from name server. */
9};
10