parser/sdp: more suggestive debug message
[sip-router] / tcp_server.h
index e12181d..510df06 100644 (file)
 
 /* "public" functions*/
 
-struct tcp_connection* tcpconn_get(int id, struct ip_addr* ip, int port, 
-                                                                       int timeout);
-void tcpconn_put(struct tcp_connection* c);
-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);