Newer
Older
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
/*
* possible values for query_code in ap_state_query()
*/
/** current status of the server */
#define AP_SQ_MAIN_STATE 0
/** are we going to serve requests or are we just testing/dumping config */
#define AP_SQ_RUN_MODE 1
/** generation of the top-level apache parent */
#define AP_SQ_CONFIG_GEN 2
/*
* return values for ap_state_query()
*/
/** return value for unknown query_code */
#define AP_SQ_NOT_SUPPORTED -1
/* values returned for AP_SQ_MAIN_STATE */
/** before the config preflight */
#define AP_SQ_MS_INITIAL_STARTUP 1
/** initial configuration run for setting up log config, etc. */
#define AP_SQ_MS_CREATE_PRE_CONFIG 2
/** tearing down configuration */
#define AP_SQ_MS_DESTROY_CONFIG 3
/** normal configuration run */
#define AP_SQ_MS_CREATE_CONFIG 4
/** running the MPM */
#define AP_SQ_MS_RUN_MPM 5
/** cleaning up for exit */
#define AP_SQ_MS_EXITING 6
/* values returned for AP_SQ_RUN_MODE */
/** command line not yet parsed */
#define AP_SQ_RM_UNKNOWN 1
/** normal operation (server requests or signal server) */
#define AP_SQ_RM_NORMAL 2
/** config test only */
#define AP_SQ_RM_CONFIG_TEST 3
/** only dump some parts of the config */
#define AP_SQ_RM_CONFIG_DUMP 4
#ifdef __cplusplus
}
#endif
#endif /* !APACHE_HTTP_CORE_H */
/** @} */