aboutsummaryrefslogtreecommitdiffstats
path: root/src/socket_util.h
diff options
context:
space:
mode:
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 f27751aa3..93bd27362 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().
*