> Date: Thu, 26 Dec 2013 18:02:55 +0100 > From: Eric Faurot <e...@faurot.net>
> First, move asr.h to include/ and install the manpages. It only > exposes the API that has been in libc for a while now, so there is no > new symbol strictly speaking, but maybe it still deserves a minor bump. Makes no sense to do a minor bump. > +/* > + * This is the structure through which async_run() returns async > + * results to the caller. > + */ > +struct async_res { > + int ar_cond; > + int ar_fd; > + int ar_timeout; > + > + int ar_errno; > + int ar_h_errno; > + int ar_gai_errno; > + int ar_rrset_errno; > + > + int ar_count; > + > + int ar_rcode; > + void *ar_data; > + int ar_datalen; > + union { > + struct sockaddr sa; > + struct sockaddr_in sain; > + struct sockaddr_in6 sain6; > + } ar_sa; > + > + struct addrinfo *ar_addrinfo; > + struct rrsetinfo *ar_rrsetinfo; > + struct hostent *ar_hostent; > + struct netent *ar_netent; > +}; Do you really want to make this structure part of the public API?