diff options
author | Max Kellermann <max@duempel.org> | 2011-09-20 07:56:59 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2011-09-20 08:49:36 +0200 |
commit | 3ea1073809bf324e5b75fd33d61dcb0422463358 (patch) | |
tree | 2fdb6aee5783b2ea88aa10089e2708d1fadb6977 /src/socket_util.h | |
parent | 76a959a578c1039235988d886bcf335fff0c85f1 (diff) | |
download | mpd-3ea1073809bf324e5b75fd33d61dcb0422463358.tar.gz mpd-3ea1073809bf324e5b75fd33d61dcb0422463358.tar.xz mpd-3ea1073809bf324e5b75fd33d61dcb0422463358.zip |
socket_util: move sockaddr_to_string() to resolver.c
Diffstat (limited to '')
-rw-r--r-- | src/socket_util.h | 13 |
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(). * |