acl  3.5.3.0
acl_server_api.h 文件参考
+ acl_server_api.h 的引用(Include)关系图:
+ 此图展示该文件直接或间接的被哪些文件引用了:

浏览源代码.

宏定义

#define ACL_MASTER_SERVER_END   0
 
#define ACL_MASTER_SERVER_INT_TABLE   1
 
#define ACL_MASTER_SERVER_STR_TABLE   2
 
#define ACL_MASTER_SERVER_BOOL_TABLE   3
 
#define ACL_MASTER_SERVER_TIME_TABLE   4
 
#define ACL_MASTER_SERVER_RAW_TABLE   5
 
#define ACL_MASTER_SERVER_INT64_TABLE   6
 
#define ACL_MASTER_SERVER_IN_FLOW_DELAY   8
 
#define ACL_MASTER_SERVER_PRE_INIT   10
 
#define ACL_MASTER_SERVER_POST_INIT   11
 
#define ACL_MASTER_SERVER_LOOP   12
 
#define ACL_MASTER_SERVER_EXIT   13
 
#define ACL_MASTER_SERVER_SOLITARY   14
 
#define ACL_MASTER_SERVER_UNLIMITED   15
 
#define ACL_MASTER_SERVER_ON_CLOSE   16
 
#define ACL_MASTER_SERVER_ON_ACCEPT   17
 
#define ACL_MASTER_SERVER_ON_TIMEOUT   18
 
#define ACL_MASTER_SERVER_ON_HANDSHAKE   19
 
#define ACL_MASTER_SERVER_THREAD_INIT   20
 
#define ACL_MASTER_SERVER_THREAD_INIT_CTX   21
 
#define ACL_MASTER_SERVER_THREAD_EXIT   22
 
#define ACL_MASTER_SERVER_THREAD_EXIT_CTX   23
 
#define ACL_MASTER_SERVER_CTX   24
 
#define ACL_MASTER_SERVER_DENY_INFO   25
 
#define ACL_MASTER_SERVER_EXIT_TIMER   26
 
#define ACL_MASTER_SERVER_ON_LISTEN   27
 
#define ACL_MASTER_SERVER_ON_BIND   ACL_MASTER_SERVER_ON_LISTEN
 
#define ACL_MASTER_SERVER_SIGHUP   28
 
#define ACL_MASTER_SERVER_ON_UNBIND   29
 
#define ACL_APP_CTL_END   ACL_MASTER_SERVER_END
 
#define ACL_APP_CTL_CFG_INT   ACL_MASTER_SERVER_INT_TABLE
 
#define ACL_APP_CTL_CFG_STR   ACL_MASTER_SERVER_STR_TABLE
 
#define ACL_APP_CTL_CFG_BOOL   ACL_MASTER_SERVER_BOOL_TABLE
 
#define ACL_APP_CTL_CFG_INT64   ACL_MASTER_SERVER_INT64_TABLE
 
#define ACL_APP_CTL_INIT_FN   ACL_MASTER_SERVER_POST_INIT
 
#define ACL_APP_CTL_PRE_JAIL   ACL_MASTER_SERVER_PRE_INIT
 
#define ACL_APP_CTL_EXIT_FN   ACL_MASTER_SERVER_EXIT
 
#define ACL_APP_CTL_THREAD_INIT   ACL_MASTER_SERVER_THREAD_INIT
 
#define ACL_APP_CTL_THREAD_INIT_CTX   ACL_MASTER_SERVER_THREAD_INIT_CTX
 
#define ACL_APP_CTL_THREAD_EXIT   ACL_MASTER_SERVER_THREAD_EXIT
 
#define ACL_APP_CTL_THREAD_EXIT_CTX   ACL_MASTER_SERVER_THREAD_EXIT_CTX
 
#define ACL_APP_CTL_DENY_INFO   ACL_MASTER_DENY_INFO
 
#define ACL_APP_CTL_ON_ACCEPT   ACL_MASTER_SERVER_ON_ACCEPT
 
#define ACL_APP_CTL_ON_CLOSE   ACL_MASTER_SERVER_ON_CLOSE
 
#define ACL_APP_CTL_ON_TIMEOUT   ACL_MASTER_SERVER_ON_TIMEOUT
 
#define ACL_APP_CTL_ON_SIGHUP   ACL_MASTER_SERVER_SIGHUP
 
#define acl_ioctl_app_main   acl_threads_server_main
 
#define ACL_TRIGGER_BUF_SIZE   1024
 

类型定义

typedef void(* ACL_MASTER_SERVER_INIT_FN) (void *)
 
typedef int(* ACL_MASTER_SERVER_LOOP_FN) (void *)
 
typedef void(* ACL_MASTER_SERVER_EXIT_FN) (void *)
 
typedef void(* ACL_MASTER_SERVER_ON_LISTEN_FN) (void *, ACL_VSTREAM *)
 
typedef void(* ACL_MASTER_SERVER_ON_BIND_FN) (void *, ACL_VSTREAM *)
 
typedef void(* ACL_MASTER_SERVER_ON_UNBIND_FN) (void *, ACL_VSTREAM *)
 
typedef int(* ACL_MASTER_SERVER_ON_ACCEPT_FN) (void *, ACL_VSTREAM *)
 
typedef int(* ACL_MASTER_SERVER_HANDSHAKE_FN) (void *, ACL_VSTREAM *)
 
typedef void(* ACL_MASTER_SERVER_DISCONN_FN) (void *, ACL_VSTREAM *)
 
typedef int(* ACL_MASTER_SERVER_TIMEOUT_FN) (void *, ACL_VSTREAM *)
 
typedef int(* ACL_MASTER_SERVER_EXIT_TIMER_FN) (void *, size_t, size_t)
 
typedef int(* ACL_MASTER_SERVER_THREAD_INIT_FN) (void *)
 
typedef void(* ACL_MASTER_SERVER_THREAD_EXIT_FN) (void *)
 
typedef int(* ACL_MASTER_SERVER_SIGHUP_FN) (void *, ACL_VSTRING *)
 
typedef void(* ACL_SINGLE_SERVER_FN) (void *, ACL_VSTREAM *)
 
typedef int(* ACL_THREADS_SERVER_FN) (void *, ACL_VSTREAM *)
 
typedef void(* ACL_AIO_SERVER_FN) (ACL_ASTREAM *, void *)
 
typedef void(* ACL_AIO_SERVER2_FN) (ACL_SOCKET, void *)
 
typedef int(* ACL_AIO_RUN_FN) (ACL_ASTREAM *stream, void *run_ctx)
 
typedef int(* ACL_AIO_RUN2_FN) (ACL_SOCKET fd, void *run_ctx)
 
typedef void(* ACL_UDP_SERVER_FN) (void *ctx, ACL_VSTREAM *)
 
typedef void(* ACL_TRIGGER_SERVER_FN) (void *)
 

函数

ACL_API const char * acl_single_server_conf (void)
 
ACL_API void acl_single_server_main (int, char **, ACL_SINGLE_SERVER_FN,...)
 
ACL_API ACL_EVENTacl_single_server_event (void)
 
ACL_API ACL_VSTREAM ** acl_single_server_sstreams (void)
 
ACL_API const char * acl_threads_server_conf (void)
 
ACL_API void acl_threads_server_main (int argc, char *argv[], ACL_THREADS_SERVER_FN, void *service_ctx, int name,...)
 
ACL_API ACL_EVENTacl_threads_server_event (void)
 
ACL_API acl_pthread_pool_tacl_threads_server_threads (void)
 
ACL_API ACL_VSTREAM ** acl_threads_server_streams (void)
 
ACL_API void acl_threads_server_enable_read (ACL_EVENT *event, acl_pthread_pool_t *threads, ACL_VSTREAM *stream)
 
ACL_API void acl_threads_server_disable_read (ACL_EVENT *event, ACL_VSTREAM *stream)
 
ACL_API const char * acl_aio_server_conf (void)
 
ACL_API void acl_aio_server_main (int, char **, ACL_AIO_SERVER_FN,...)
 
ACL_API void acl_aio_server2_main (int, char **, ACL_AIO_SERVER2_FN,...)
 
ACL_DEPRECATED void acl_aio_app_main (int argc, char *argv[], ACL_AIO_RUN_FN run_fn, void *run_ctx,...)
 
ACL_DEPRECATED void acl_aio_app2_main (int argc, char *argv[], ACL_AIO_RUN2_FN run2_fn, void *run_ctx,...)
 
ACL_API void acl_aio_server_request_timer (ACL_EVENT_NOTIFY_TIME timer_fn, void *arg, int delay)
 
ACL_API void acl_aio_server_cancel_timer (ACL_EVENT_NOTIFY_TIME timer_fn, void *arg)
 
ACL_API void acl_aio_server_request_rw_timer (ACL_ASTREAM *)
 
ACL_API void acl_aio_server_cancel_rw_timer (ACL_ASTREAM *)
 
ACL_API ACL_AIOacl_aio_server_handle (void)
 
ACL_API ACL_EVENTacl_aio_server_event (void)
 
ACL_API int acl_aio_server_read (ACL_ASTREAM *astream, int timeout, ACL_AIO_READ_FN notify_fn, void *context)
 
ACL_API int acl_aio_server_readn (ACL_ASTREAM *astream, int count, int timeout, ACL_AIO_READ_FN notify_fn, void *context)
 
ACL_API int acl_aio_server_gets (ACL_ASTREAM *astream, int timeout, ACL_AIO_READ_FN notify_fn, void *context)
 
ACL_API int acl_aio_server_gets_nonl (ACL_ASTREAM *astream, int timeout, ACL_AIO_READ_FN notify_fn, void *context)
 
ACL_API int acl_aio_server_writen (ACL_ASTREAM *astream, ACL_AIO_WRITE_FN notify_fn, void *context, const char *data, int dlen)
 
ACL_API int acl_aio_server_vfprintf (ACL_ASTREAM *astream, ACL_AIO_WRITE_FN notify_fn, void *context, const char *fmt, va_list ap)
 
ACL_API int acl_aio_server_fprintf (ACL_ASTREAM *astream, ACL_AIO_WRITE_FN notify_fn, void *context, const char *fmt,...)
 
ACL_API int acl_aio_server_connect (const char *saddr, int timeout, ACL_AIO_CONNECT_FN connect_fn, void *context)
 
ACL_API ACL_ASTREAM ** acl_aio_server_streams (void)
 
ACL_API void acl_aio_server_on_close (ACL_ASTREAM *stream)
 
ACL_API const char * acl_udp_server_conf (void)
 
ACL_API void acl_udp_server_request_timer (ACL_EVENT_NOTIFY_TIME timer_fn, void *arg, acl_int64 delay, int keep)
 
ACL_API void acl_udp_server_cancel_timer (ACL_EVENT_NOTIFY_TIME timer_fn, void *arg)
 
ACL_API void acl_udp_server_main (int, char **, ACL_UDP_SERVER_FN,...)
 
ACL_API ACL_EVENTacl_udp_server_event (void)
 
ACL_API ACL_VSTREAM ** acl_udp_server_streams (void)
 
ACL_API const char * acl_trigger_server_conf (void)
 
ACL_API void acl_trigger_server_main (int, char **, ACL_TRIGGER_SERVER_FN,...)
 
ACL_API ACL_EVENTacl_trigger_server_event (void)
 
ACL_API void acl_server_sighup_setup (void)
 
ACL_API void acl_server_sigterm_setup (void)
 

变量

ACL_API int acl_var_server_gotsighup
 

宏定义说明

◆ ACL_APP_CTL_CFG_BOOL

#define ACL_APP_CTL_CFG_BOOL   ACL_MASTER_SERVER_BOOL_TABLE

在文件 acl_server_api.h56 行定义.

◆ ACL_APP_CTL_CFG_INT

#define ACL_APP_CTL_CFG_INT   ACL_MASTER_SERVER_INT_TABLE

在文件 acl_server_api.h54 行定义.

◆ ACL_APP_CTL_CFG_INT64

#define ACL_APP_CTL_CFG_INT64   ACL_MASTER_SERVER_INT64_TABLE

在文件 acl_server_api.h57 行定义.

◆ ACL_APP_CTL_CFG_STR

#define ACL_APP_CTL_CFG_STR   ACL_MASTER_SERVER_STR_TABLE

在文件 acl_server_api.h55 行定义.

◆ ACL_APP_CTL_DENY_INFO

#define ACL_APP_CTL_DENY_INFO   ACL_MASTER_DENY_INFO

在文件 acl_server_api.h65 行定义.

◆ ACL_APP_CTL_END

#define ACL_APP_CTL_END   ACL_MASTER_SERVER_END

在文件 acl_server_api.h53 行定义.

◆ ACL_APP_CTL_EXIT_FN

#define ACL_APP_CTL_EXIT_FN   ACL_MASTER_SERVER_EXIT

在文件 acl_server_api.h60 行定义.

◆ ACL_APP_CTL_INIT_FN

#define ACL_APP_CTL_INIT_FN   ACL_MASTER_SERVER_POST_INIT

在文件 acl_server_api.h58 行定义.

◆ ACL_APP_CTL_ON_ACCEPT

#define ACL_APP_CTL_ON_ACCEPT   ACL_MASTER_SERVER_ON_ACCEPT

在文件 acl_server_api.h66 行定义.

◆ ACL_APP_CTL_ON_CLOSE

#define ACL_APP_CTL_ON_CLOSE   ACL_MASTER_SERVER_ON_CLOSE

在文件 acl_server_api.h67 行定义.

◆ ACL_APP_CTL_ON_SIGHUP

#define ACL_APP_CTL_ON_SIGHUP   ACL_MASTER_SERVER_SIGHUP

在文件 acl_server_api.h69 行定义.

◆ ACL_APP_CTL_ON_TIMEOUT

#define ACL_APP_CTL_ON_TIMEOUT   ACL_MASTER_SERVER_ON_TIMEOUT

在文件 acl_server_api.h68 行定义.

◆ ACL_APP_CTL_PRE_JAIL

#define ACL_APP_CTL_PRE_JAIL   ACL_MASTER_SERVER_PRE_INIT

在文件 acl_server_api.h59 行定义.

◆ ACL_APP_CTL_THREAD_EXIT

#define ACL_APP_CTL_THREAD_EXIT   ACL_MASTER_SERVER_THREAD_EXIT

在文件 acl_server_api.h63 行定义.

◆ ACL_APP_CTL_THREAD_EXIT_CTX

#define ACL_APP_CTL_THREAD_EXIT_CTX   ACL_MASTER_SERVER_THREAD_EXIT_CTX

在文件 acl_server_api.h64 行定义.

◆ ACL_APP_CTL_THREAD_INIT

#define ACL_APP_CTL_THREAD_INIT   ACL_MASTER_SERVER_THREAD_INIT

在文件 acl_server_api.h61 行定义.

◆ ACL_APP_CTL_THREAD_INIT_CTX

#define ACL_APP_CTL_THREAD_INIT_CTX   ACL_MASTER_SERVER_THREAD_INIT_CTX

在文件 acl_server_api.h62 行定义.

◆ acl_ioctl_app_main

#define acl_ioctl_app_main   acl_threads_server_main

在文件 acl_server_api.h105 行定义.

◆ ACL_MASTER_SERVER_BOOL_TABLE

#define ACL_MASTER_SERVER_BOOL_TABLE   3

在文件 acl_server_api.h23 行定义.

◆ ACL_MASTER_SERVER_CTX

#define ACL_MASTER_SERVER_CTX   24

在文件 acl_server_api.h44 行定义.

◆ ACL_MASTER_SERVER_DENY_INFO

#define ACL_MASTER_SERVER_DENY_INFO   25

在文件 acl_server_api.h45 行定义.

◆ ACL_MASTER_SERVER_END

#define ACL_MASTER_SERVER_END   0

在文件 acl_server_api.h20 行定义.

◆ ACL_MASTER_SERVER_EXIT

#define ACL_MASTER_SERVER_EXIT   13

在文件 acl_server_api.h32 行定义.

◆ ACL_MASTER_SERVER_EXIT_TIMER

#define ACL_MASTER_SERVER_EXIT_TIMER   26

在文件 acl_server_api.h47 行定义.

◆ ACL_MASTER_SERVER_IN_FLOW_DELAY

#define ACL_MASTER_SERVER_IN_FLOW_DELAY   8

在文件 acl_server_api.h27 行定义.

◆ ACL_MASTER_SERVER_INT64_TABLE

#define ACL_MASTER_SERVER_INT64_TABLE   6

在文件 acl_server_api.h26 行定义.

◆ ACL_MASTER_SERVER_INT_TABLE

#define ACL_MASTER_SERVER_INT_TABLE   1

在文件 acl_server_api.h21 行定义.

◆ ACL_MASTER_SERVER_LOOP

#define ACL_MASTER_SERVER_LOOP   12

在文件 acl_server_api.h31 行定义.

◆ ACL_MASTER_SERVER_ON_ACCEPT

#define ACL_MASTER_SERVER_ON_ACCEPT   17

在文件 acl_server_api.h36 行定义.

◆ ACL_MASTER_SERVER_ON_BIND

#define ACL_MASTER_SERVER_ON_BIND   ACL_MASTER_SERVER_ON_LISTEN

在文件 acl_server_api.h49 行定义.

◆ ACL_MASTER_SERVER_ON_CLOSE

#define ACL_MASTER_SERVER_ON_CLOSE   16

在文件 acl_server_api.h35 行定义.

◆ ACL_MASTER_SERVER_ON_HANDSHAKE

#define ACL_MASTER_SERVER_ON_HANDSHAKE   19

在文件 acl_server_api.h38 行定义.

◆ ACL_MASTER_SERVER_ON_LISTEN

#define ACL_MASTER_SERVER_ON_LISTEN   27

在文件 acl_server_api.h48 行定义.

◆ ACL_MASTER_SERVER_ON_TIMEOUT

#define ACL_MASTER_SERVER_ON_TIMEOUT   18

在文件 acl_server_api.h37 行定义.

◆ ACL_MASTER_SERVER_ON_UNBIND

#define ACL_MASTER_SERVER_ON_UNBIND   29

在文件 acl_server_api.h51 行定义.

◆ ACL_MASTER_SERVER_POST_INIT

#define ACL_MASTER_SERVER_POST_INIT   11

在文件 acl_server_api.h30 行定义.

◆ ACL_MASTER_SERVER_PRE_INIT

#define ACL_MASTER_SERVER_PRE_INIT   10

在文件 acl_server_api.h29 行定义.

◆ ACL_MASTER_SERVER_RAW_TABLE

#define ACL_MASTER_SERVER_RAW_TABLE   5

在文件 acl_server_api.h25 行定义.

◆ ACL_MASTER_SERVER_SIGHUP

#define ACL_MASTER_SERVER_SIGHUP   28

在文件 acl_server_api.h50 行定义.

◆ ACL_MASTER_SERVER_SOLITARY

#define ACL_MASTER_SERVER_SOLITARY   14

在文件 acl_server_api.h33 行定义.

◆ ACL_MASTER_SERVER_STR_TABLE

#define ACL_MASTER_SERVER_STR_TABLE   2

在文件 acl_server_api.h22 行定义.

◆ ACL_MASTER_SERVER_THREAD_EXIT

#define ACL_MASTER_SERVER_THREAD_EXIT   22

在文件 acl_server_api.h42 行定义.

◆ ACL_MASTER_SERVER_THREAD_EXIT_CTX

#define ACL_MASTER_SERVER_THREAD_EXIT_CTX   23

在文件 acl_server_api.h43 行定义.

◆ ACL_MASTER_SERVER_THREAD_INIT

#define ACL_MASTER_SERVER_THREAD_INIT   20

在文件 acl_server_api.h40 行定义.

◆ ACL_MASTER_SERVER_THREAD_INIT_CTX

#define ACL_MASTER_SERVER_THREAD_INIT_CTX   21

在文件 acl_server_api.h41 行定义.

◆ ACL_MASTER_SERVER_TIME_TABLE

#define ACL_MASTER_SERVER_TIME_TABLE   4

在文件 acl_server_api.h24 行定义.

◆ ACL_MASTER_SERVER_UNLIMITED

#define ACL_MASTER_SERVER_UNLIMITED   15

在文件 acl_server_api.h34 行定义.

◆ ACL_TRIGGER_BUF_SIZE

#define ACL_TRIGGER_BUF_SIZE   1024

在文件 acl_server_api.h181 行定义.

类型定义说明

◆ ACL_AIO_RUN2_FN

typedef int(* ACL_AIO_RUN2_FN) (ACL_SOCKET fd, void *run_ctx)

在文件 acl_server_api.h127 行定义.

◆ ACL_AIO_RUN_FN

typedef int(* ACL_AIO_RUN_FN) (ACL_ASTREAM *stream, void *run_ctx)

在文件 acl_server_api.h126 行定义.

◆ ACL_AIO_SERVER2_FN

typedef void(* ACL_AIO_SERVER2_FN) (ACL_SOCKET, void *)

在文件 acl_server_api.h120 行定义.

◆ ACL_AIO_SERVER_FN

typedef void(* ACL_AIO_SERVER_FN) (ACL_ASTREAM *, void *)

在文件 acl_server_api.h119 行定义.

◆ ACL_MASTER_SERVER_DISCONN_FN

typedef void(* ACL_MASTER_SERVER_DISCONN_FN) (void *, ACL_VSTREAM *)

在文件 acl_server_api.h79 行定义.

◆ ACL_MASTER_SERVER_EXIT_FN

typedef void(* ACL_MASTER_SERVER_EXIT_FN) (void *)

在文件 acl_server_api.h73 行定义.

◆ ACL_MASTER_SERVER_EXIT_TIMER_FN

typedef int(* ACL_MASTER_SERVER_EXIT_TIMER_FN) (void *, size_t, size_t)

在文件 acl_server_api.h81 行定义.

◆ ACL_MASTER_SERVER_HANDSHAKE_FN

typedef int(* ACL_MASTER_SERVER_HANDSHAKE_FN) (void *, ACL_VSTREAM *)

在文件 acl_server_api.h78 行定义.

◆ ACL_MASTER_SERVER_INIT_FN

typedef void(* ACL_MASTER_SERVER_INIT_FN) (void *)

在文件 acl_server_api.h71 行定义.

◆ ACL_MASTER_SERVER_LOOP_FN

typedef int(* ACL_MASTER_SERVER_LOOP_FN) (void *)

在文件 acl_server_api.h72 行定义.

◆ ACL_MASTER_SERVER_ON_ACCEPT_FN

typedef int(* ACL_MASTER_SERVER_ON_ACCEPT_FN) (void *, ACL_VSTREAM *)

在文件 acl_server_api.h77 行定义.

◆ ACL_MASTER_SERVER_ON_BIND_FN

typedef void(* ACL_MASTER_SERVER_ON_BIND_FN) (void *, ACL_VSTREAM *)

在文件 acl_server_api.h75 行定义.

◆ ACL_MASTER_SERVER_ON_LISTEN_FN

typedef void(* ACL_MASTER_SERVER_ON_LISTEN_FN) (void *, ACL_VSTREAM *)

在文件 acl_server_api.h74 行定义.

◆ ACL_MASTER_SERVER_ON_UNBIND_FN

typedef void(* ACL_MASTER_SERVER_ON_UNBIND_FN) (void *, ACL_VSTREAM *)

在文件 acl_server_api.h76 行定义.

◆ ACL_MASTER_SERVER_SIGHUP_FN

typedef int(* ACL_MASTER_SERVER_SIGHUP_FN) (void *, ACL_VSTRING *)

在文件 acl_server_api.h85 行定义.

◆ ACL_MASTER_SERVER_THREAD_EXIT_FN

typedef void(* ACL_MASTER_SERVER_THREAD_EXIT_FN) (void *)

在文件 acl_server_api.h84 行定义.

◆ ACL_MASTER_SERVER_THREAD_INIT_FN

typedef int(* ACL_MASTER_SERVER_THREAD_INIT_FN) (void *)

在文件 acl_server_api.h83 行定义.

◆ ACL_MASTER_SERVER_TIMEOUT_FN

typedef int(* ACL_MASTER_SERVER_TIMEOUT_FN) (void *, ACL_VSTREAM *)

在文件 acl_server_api.h80 行定义.

◆ ACL_SINGLE_SERVER_FN

typedef void(* ACL_SINGLE_SERVER_FN) (void *, ACL_VSTREAM *)

在文件 acl_server_api.h90 行定义.

◆ ACL_THREADS_SERVER_FN

typedef int(* ACL_THREADS_SERVER_FN) (void *, ACL_VSTREAM *)

在文件 acl_server_api.h100 行定义.

◆ ACL_TRIGGER_SERVER_FN

typedef void(* ACL_TRIGGER_SERVER_FN) (void *)

在文件 acl_server_api.h176 行定义.

◆ ACL_UDP_SERVER_FN

typedef void(* ACL_UDP_SERVER_FN) (void *ctx, ACL_VSTREAM *)

在文件 acl_server_api.h163 行定义.

函数说明

◆ acl_aio_app2_main()

ACL_DEPRECATED void acl_aio_app2_main ( int  argc,
char *  argv[],
ACL_AIO_RUN2_FN  run2_fn,
void *  run_ctx,
  ... 
)

◆ acl_aio_app_main()

ACL_DEPRECATED void acl_aio_app_main ( int  argc,
char *  argv[],
ACL_AIO_RUN_FN  run_fn,
void *  run_ctx,
  ... 
)

◆ acl_aio_server2_main()

ACL_API void acl_aio_server2_main ( int  ,
char **  ,
ACL_AIO_SERVER2_FN  ,
  ... 
)

◆ acl_aio_server_cancel_rw_timer()

ACL_API void acl_aio_server_cancel_rw_timer ( ACL_ASTREAM )

◆ acl_aio_server_cancel_timer()

ACL_API void acl_aio_server_cancel_timer ( ACL_EVENT_NOTIFY_TIME  timer_fn,
void *  arg 
)

◆ acl_aio_server_conf()

ACL_API const char* acl_aio_server_conf ( void  )

◆ acl_aio_server_connect()

ACL_API int acl_aio_server_connect ( const char *  saddr,
int  timeout,
ACL_AIO_CONNECT_FN  connect_fn,
void *  context 
)

◆ acl_aio_server_event()

ACL_API ACL_EVENT* acl_aio_server_event ( void  )

◆ acl_aio_server_fprintf()

ACL_API int acl_aio_server_fprintf ( ACL_ASTREAM astream,
ACL_AIO_WRITE_FN  notify_fn,
void *  context,
const char *  fmt,
  ... 
)

◆ acl_aio_server_gets()

ACL_API int acl_aio_server_gets ( ACL_ASTREAM astream,
int  timeout,
ACL_AIO_READ_FN  notify_fn,
void *  context 
)

◆ acl_aio_server_gets_nonl()

ACL_API int acl_aio_server_gets_nonl ( ACL_ASTREAM astream,
int  timeout,
ACL_AIO_READ_FN  notify_fn,
void *  context 
)

◆ acl_aio_server_handle()

ACL_API ACL_AIO* acl_aio_server_handle ( void  )

◆ acl_aio_server_main()

ACL_API void acl_aio_server_main ( int  ,
char **  ,
ACL_AIO_SERVER_FN  ,
  ... 
)

◆ acl_aio_server_on_close()

ACL_API void acl_aio_server_on_close ( ACL_ASTREAM stream)

◆ acl_aio_server_read()

ACL_API int acl_aio_server_read ( ACL_ASTREAM astream,
int  timeout,
ACL_AIO_READ_FN  notify_fn,
void *  context 
)

◆ acl_aio_server_readn()

ACL_API int acl_aio_server_readn ( ACL_ASTREAM astream,
int  count,
int  timeout,
ACL_AIO_READ_FN  notify_fn,
void *  context 
)

◆ acl_aio_server_request_rw_timer()

ACL_API void acl_aio_server_request_rw_timer ( ACL_ASTREAM )

◆ acl_aio_server_request_timer()

ACL_API void acl_aio_server_request_timer ( ACL_EVENT_NOTIFY_TIME  timer_fn,
void *  arg,
int  delay 
)

◆ acl_aio_server_streams()

ACL_API ACL_ASTREAM** acl_aio_server_streams ( void  )

◆ acl_aio_server_vfprintf()

ACL_API int acl_aio_server_vfprintf ( ACL_ASTREAM astream,
ACL_AIO_WRITE_FN  notify_fn,
void *  context,
const char *  fmt,
va_list  ap 
)

◆ acl_aio_server_writen()

ACL_API int acl_aio_server_writen ( ACL_ASTREAM astream,
ACL_AIO_WRITE_FN  notify_fn,
void *  context,
const char *  data,
int  dlen 
)

◆ acl_server_sighup_setup()

ACL_API void acl_server_sighup_setup ( void  )

◆ acl_server_sigterm_setup()

ACL_API void acl_server_sigterm_setup ( void  )

◆ acl_single_server_conf()

ACL_API const char* acl_single_server_conf ( void  )

◆ acl_single_server_event()

ACL_API ACL_EVENT* acl_single_server_event ( void  )

◆ acl_single_server_main()

ACL_API void acl_single_server_main ( int  ,
char **  ,
ACL_SINGLE_SERVER_FN  ,
  ... 
)

◆ acl_single_server_sstreams()

ACL_API ACL_VSTREAM** acl_single_server_sstreams ( void  )

◆ acl_threads_server_conf()

ACL_API const char* acl_threads_server_conf ( void  )

◆ acl_threads_server_disable_read()

ACL_API void acl_threads_server_disable_read ( ACL_EVENT event,
ACL_VSTREAM stream 
)

◆ acl_threads_server_enable_read()

ACL_API void acl_threads_server_enable_read ( ACL_EVENT event,
acl_pthread_pool_t threads,
ACL_VSTREAM stream 
)

◆ acl_threads_server_event()

ACL_API ACL_EVENT* acl_threads_server_event ( void  )

◆ acl_threads_server_main()

ACL_API void acl_threads_server_main ( int  argc,
char *  argv[],
ACL_THREADS_SERVER_FN  ,
void *  service_ctx,
int  name,
  ... 
)

◆ acl_threads_server_streams()

ACL_API ACL_VSTREAM** acl_threads_server_streams ( void  )

◆ acl_threads_server_threads()

ACL_API acl_pthread_pool_t* acl_threads_server_threads ( void  )

◆ acl_trigger_server_conf()

ACL_API const char* acl_trigger_server_conf ( void  )

◆ acl_trigger_server_event()

ACL_API ACL_EVENT* acl_trigger_server_event ( void  )

◆ acl_trigger_server_main()

ACL_API void acl_trigger_server_main ( int  ,
char **  ,
ACL_TRIGGER_SERVER_FN  ,
  ... 
)

◆ acl_udp_server_cancel_timer()

ACL_API void acl_udp_server_cancel_timer ( ACL_EVENT_NOTIFY_TIME  timer_fn,
void *  arg 
)

◆ acl_udp_server_conf()

ACL_API const char* acl_udp_server_conf ( void  )

◆ acl_udp_server_event()

ACL_API ACL_EVENT* acl_udp_server_event ( void  )

◆ acl_udp_server_main()

ACL_API void acl_udp_server_main ( int  ,
char **  ,
ACL_UDP_SERVER_FN  ,
  ... 
)

◆ acl_udp_server_request_timer()

ACL_API void acl_udp_server_request_timer ( ACL_EVENT_NOTIFY_TIME  timer_fn,
void *  arg,
acl_int64  delay,
int  keep 
)

◆ acl_udp_server_streams()

ACL_API ACL_VSTREAM** acl_udp_server_streams ( void  )

变量说明

◆ acl_var_server_gotsighup

ACL_API int acl_var_server_gotsighup