acl/lib_acl/samples/aio/server/echo_server.h
zsxxsz cf2528eb7c 完善了非阻塞IO的SSL功能;将 samples 移到 lib_acl 目录下
完善了非阻塞IO的SSL功能;将 acl/samples/ 下的示例分别移到 lib_acl 及 lib_protocol 目录下
2014-11-30 21:15:35 +08:00

13 lines
417 B
C

#ifndef __AIO_ECHO_SERVER_INCLUDE_H__
#define __AIO_ECHO_SERVER_INCLUDE_H__
#include "lib_acl.h"
void echo_server_log_fn(void (*write_fn)(void *, const char *fmt, ...),
void *write_arg, void (*fflush_fn)(void *), void *fflush_arg);
void echo_server_init(char *data, int dlen, int echo_src, int line_length);
ACL_AIO *echo_server_start(ACL_VSTREAM *sstream, int accept_auto, int event_kernel);
#endif