| 235 * |
235 * |
| 236 * @param hostname The hostname to resolve |
236 * @param hostname The hostname to resolve |
| 237 * @param port A portnumber which is stored in the struct sockaddr |
237 * @param port A portnumber which is stored in the struct sockaddr |
| 238 * @param callback Callback to call after resolving |
238 * @param callback Callback to call after resolving |
| 239 * @param data Extra data for the callback function |
239 * @param data Extra data for the callback function |
| 240 * @return a GSList containing the size of followed by the struct sockaddr for any returned IP |
240 * |
| |
241 * @return Zero indicates the connection is pending. Any other value indicates failure. |
| 241 */ |
242 */ |
| 242 int gaim_gethostbyname_async(const char *hostname, int port, dns_callback_t callback, gpointer data); |
243 int gaim_gethostbyname_async(const char *hostname, int port, dns_callback_t callback, gpointer data); |
| 243 |
244 |
| 244 /*@}*/ |
245 /*@}*/ |
| 245 |
246 |