src/sock.h
changeset 2 a834f0559939
parent 1 cf0e1bb6bcab
child 3 cc94ae754e2a
--- a/src/sock.h	Sun Feb 22 03:57:44 2009 +0200
+++ b/src/sock.h	Sun Feb 22 05:27:29 2009 +0200
@@ -33,6 +33,11 @@
 struct sock_stream *sock_ssl_connect (const char *host, const char *service);
 
 /*
+ * Initialize the socket module's global state
+ */
+void sock_init (void);
+
+/*
  * The generic read/write API for stream sockets.
  */
 int sock_stream_read (struct sock_stream *sock, void *buf, size_t len);