core: Changed WS from being a flag on a TCP/TLS connection to a protocol in its own...
[sip-router] / tcp_server.h
index 9c1588b..510df06 100644 (file)
@@ -34,7 +34,8 @@
 
 /* "public" functions*/
 
-int tcp_send(struct dest_info* dst, char* buf, unsigned len);
+int tcp_send(struct dest_info* dst, union sockaddr_union* from,
+                               const char* buf, unsigned len);
 
 int tcpconn_add_alias(int id, int port, int proto);