* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA
*/
+/** @file lib/addr.c Socket address support */
#include <config.h>
#include "types.h"
return res;
}
+/** @brief Comparison function for address information
+ *
+ * Suitable for qsort().
+ */
int addrinfocmp(const struct addrinfo *a,
const struct addrinfo *b) {
const struct sockaddr_in *ina, *inb;