src/sock.c
changeset 28 9c1050bc8709
parent 12 4147fae232d9
child 118 05b8d5150313
--- a/src/sock.c	Tue Mar 10 01:46:09 2009 +0200
+++ b/src/sock.c	Tue Mar 10 02:34:11 2009 +0200
@@ -83,3 +83,9 @@
     if (what & EV_WRITE && sock->cb_info->on_write)
         sock->cb_info->on_read(sock, sock->cb_arg);
 }
+
+void sock_stream_release (struct sock_stream *sock)
+{
+    sock->type->methods.release(sock);
+}
+