src/sock_internal.h
author Tero Marttila <terom@fixme.fi>
Fri, 08 May 2009 01:43:02 +0300
changeset 194 808b1b047620
parent 155 c59d3eaff0fb
permissions -rw-r--r--
add a new test/fail module, and rewrite test/assert to use it
#ifndef SOCK_INTERNAL_H
#define SOCK_INTERNAL_H

/**
 * @file
 *
 * internal sock_* interface
 */
#include "sock.h"

/**
 * Global sock_stream_ctx used for sock_init() and all sock_stream's
 */
extern struct sock_stream_ctx {
    /** libevent core */
    struct event_base *ev_base;

} _sock_stream_ctx;

#endif /* SOCK_INTERNAL_H */