chiark / gitweb /
a bit more doxygen
[disorder] / lib / addr.c
index 153130bf65cf31634d8187ee4e3b917f0d63731e..07876633950dd870d69f458dc7d67de25ea1c857 100644 (file)
@@ -88,6 +88,10 @@ struct addrinfo *get_address(const struct stringlist *a,
   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;