src/sock.h
branchnew-lib-errors
changeset 219 cefec18b8268
parent 218 5229a5d098b2
--- a/src/sock.h	Thu May 28 00:35:02 2009 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-#ifndef SOCK_H
-#define SOCK_H
-
-/**
- * @file
- *
- * Legacy sock_* interface for global state
- */
-#include "error.h"
-#include <sys/types.h>
-#include <event2/event.h>
-
-/**
- * Initialize the socket module's global state. Call this before calling any other sock_* functions.
- *
- * The given \a ev_base is the libevent base to use for nonblocking operation.
- *
- * @param ev_base the libevent base to use for events
- * @param err returned error info
- */
-err_t sock_init (struct event_base *ev_base, error_t *err);
-
-#endif