@@ -29,26 +29,27 @@ extern "C" {
2929#define ACL_MASTER_SERVER_PRE_INIT 10
3030#define ACL_MASTER_SERVER_POST_INIT 11
3131#define ACL_MASTER_SERVER_LOOP 12
32- #define ACL_MASTER_SERVER_EXIT 13
33- #define ACL_MASTER_SERVER_SOLITARY 14
34- #define ACL_MASTER_SERVER_UNLIMITED 15
35- #define ACL_MASTER_SERVER_ON_CLOSE 16
36- #define ACL_MASTER_SERVER_ON_ACCEPT 17
37- #define ACL_MASTER_SERVER_ON_TIMEOUT 18
38- #define ACL_MASTER_SERVER_ON_HANDSHAKE 19
39-
40- #define ACL_MASTER_SERVER_THREAD_INIT 20
41- #define ACL_MASTER_SERVER_THREAD_INIT_CTX 21
42- #define ACL_MASTER_SERVER_THREAD_EXIT 22
43- #define ACL_MASTER_SERVER_THREAD_EXIT_CTX 23
44- #define ACL_MASTER_SERVER_CTX 24
45- #define ACL_MASTER_SERVER_DENY_INFO 25
46-
47- #define ACL_MASTER_SERVER_EXIT_TIMER 26
48- #define ACL_MASTER_SERVER_ON_LISTEN 27
32+ #define ACL_MASTER_SERVER_PRE_EXIT 13
33+ #define ACL_MASTER_SERVER_EXIT 14
34+ #define ACL_MASTER_SERVER_SOLITARY 15
35+ #define ACL_MASTER_SERVER_UNLIMITED 16
36+ #define ACL_MASTER_SERVER_ON_CLOSE 17
37+ #define ACL_MASTER_SERVER_ON_ACCEPT 18
38+ #define ACL_MASTER_SERVER_ON_TIMEOUT 19
39+ #define ACL_MASTER_SERVER_ON_HANDSHAKE 20
40+
41+ #define ACL_MASTER_SERVER_THREAD_INIT 21
42+ #define ACL_MASTER_SERVER_THREAD_INIT_CTX 22
43+ #define ACL_MASTER_SERVER_THREAD_EXIT 23
44+ #define ACL_MASTER_SERVER_THREAD_EXIT_CTX 24
45+ #define ACL_MASTER_SERVER_CTX 25
46+ #define ACL_MASTER_SERVER_DENY_INFO 26
47+
48+ #define ACL_MASTER_SERVER_EXIT_TIMER 27
49+ #define ACL_MASTER_SERVER_ON_LISTEN 28
4950#define ACL_MASTER_SERVER_ON_BIND ACL_MASTER_SERVER_ON_LISTEN
50- #define ACL_MASTER_SERVER_SIGHUP 28
51- #define ACL_MASTER_SERVER_ON_UNBIND 29
51+ #define ACL_MASTER_SERVER_SIGHUP 29
52+ #define ACL_MASTER_SERVER_ON_UNBIND 30
5253
5354#define ACL_APP_CTL_END ACL_MASTER_SERVER_END
5455#define ACL_APP_CTL_CFG_INT ACL_MASTER_SERVER_INT_TABLE
@@ -71,6 +72,7 @@ extern "C" {
7172typedef void (* ACL_MASTER_SERVER_INIT_FN ) (void * );
7273typedef int (* ACL_MASTER_SERVER_LOOP_FN ) (void * );
7374typedef void (* ACL_MASTER_SERVER_EXIT_FN ) (void * );
75+ typedef int (* ACL_MASTER_SERVER_PRE_EXIT_FN ) (void * );
7476typedef void (* ACL_MASTER_SERVER_ON_LISTEN_FN ) (void * , ACL_VSTREAM * );
7577typedef void (* ACL_MASTER_SERVER_ON_BIND_FN ) (void * , ACL_VSTREAM * );
7678typedef void (* ACL_MASTER_SERVER_ON_UNBIND_FN ) (void * , ACL_VSTREAM * );
0 commit comments