aboutsummaryrefslogtreecommitdiff
path: root/src/socket_util.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2011-09-20 07:56:59 +0200
committerMax Kellermann <max@duempel.org>2011-09-20 08:49:36 +0200
commit3ea1073809bf324e5b75fd33d61dcb0422463358 (patch)
tree2fdb6aee5783b2ea88aa10089e2708d1fadb6977 /src/socket_util.h
parent76a959a578c1039235988d886bcf335fff0c85f1 (diff)
socket_util: move sockaddr_to_string() to resolver.c
Diffstat (limited to 'src/socket_util.h')
-rw-r--r--src/socket_util.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/socket_util.h b/src/socket_util.h
index f27751aa..93bd2736 100644
--- a/src/socket_util.h
+++ b/src/socket_util.h
@@ -31,19 +31,6 @@
struct sockaddr;
/**
- * Converts the specified socket address into a string in the form
- * "IP:PORT". The return value must be freed with g_free() when you
- * don't need it anymore.
- *
- * @param sa the sockaddr struct
- * @param length the length of #sa in bytes
- * @param error location to store the error occurring, or NULL to
- * ignore errors
- */
-char *
-sockaddr_to_string(const struct sockaddr *sa, size_t length, GError **error);
-
-/**
* Creates a socket listening on the specified address. This is a
* shortcut for socket(), bind() and listen().
*