terom@1: #ifndef SOCK_INTERNAL_H terom@1: #define SOCK_INTERNAL_H terom@1: terom@28: /** terom@28: * @file terom@28: * terom@28: * internal sock_* interface terom@28: */ terom@1: #include "sock.h" terom@85: terom@85: /** terom@85: * Global sock_stream_ctx used for sock_init() and all sock_stream's terom@85: */ terom@155: extern struct sock_stream_ctx { terom@155: /** libevent core */ terom@155: struct event_base *ev_base; terom@9: terom@155: } _sock_stream_ctx; terom@139: terom@1: #endif /* SOCK_INTERNAL_H */