mirror of
https://gitee.com/acl-dev/acl.git
synced 2024-12-15 09:20:52 +08:00
cf2528eb7c
完善了非阻塞IO的SSL功能;将 acl/samples/ 下的示例分别移到 lib_acl 及 lib_protocol 目录下
13 lines
417 B
C
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
|
|
|