1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
3 * Copyright (C) 2000-2003, Ximian, Inc.
10 #include <sys/types.h>
11 #include <sys/socket.h>
14 #include <libsoup/soup-error.h>
16 typedef gpointer SoupDNSHandle;
17 typedef void (*SoupGetHostByFn) (SoupDNSHandle handle,
18 SoupKnownErrorCode status,
22 SoupDNSHandle soup_gethostbyname (const char *name,
26 SoupDNSHandle soup_gethostbyaddr (gpointer addr,
31 void soup_gethostby_cancel (SoupDNSHandle id);
33 char *soup_ntop (gconstpointer addr,
36 #endif /* SOUP_DNS_H */