summaryrefslogtreecommitdiff
path: root/include/socket.h
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2017-08-28 15:13:25 +0100
committerPeter Powell <petpow@saberuk.com>2017-09-12 15:05:24 +0100
commit3b595d39a50e38283768bc6ec8aeb9e73071224f (patch)
tree06a0e9e38726eaa7ece24bb288f85e318cca70a3 /include/socket.h
parent0a623f7a93b92171488d2d11902e42308c2e66c3 (diff)
Get rid of irc::sockets::satoap().
This function is being misused in all but one scenario. It isn't really worth keeping IMO.
Diffstat (limited to 'include/socket.h')
-rw-r--r--include/socket.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/socket.h b/include/socket.h
index 427ee9fe7..9d6c56a18 100644
--- a/include/socket.h
+++ b/include/socket.h
@@ -116,14 +116,6 @@ namespace irc
* @return true if the conversion was successful, false if not.
*/
CoreExport bool aptosa(const std::string& addr, int port, irc::sockets::sockaddrs& sa);
-
- /** Convert a binary sockaddr to an address-port pair
- * @param sa The structure to convert
- * @param addr the IP address
- * @param port the port
- * @return true if the conversion was successful, false if unknown address family
- */
- CoreExport bool satoap(const irc::sockets::sockaddrs& sa, std::string& addr, int &port);
}
}