summaryrefslogtreecommitdiff
path: root/libsoup/soup-socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'libsoup/soup-socket.h')
-rw-r--r--libsoup/soup-socket.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/libsoup/soup-socket.h b/libsoup/soup-socket.h
index c1a6e5e3..9b242ff2 100644
--- a/libsoup/soup-socket.h
+++ b/libsoup/soup-socket.h
@@ -15,6 +15,15 @@
#define SOUP_SOCKET_H 1
#include <glib.h>
+#include <sys/socket.h>
+
+gboolean soup_gethostbyname (const gchar *hostname,
+ struct sockaddr_in *sa,
+ gchar **nicename);
+
+gchar *soup_gethostbyaddr (const gchar *addr,
+ size_t length,
+ int type);
typedef struct _SoupAddress SoupAddress;