If Sander hadn't gone awol this wouldn't be so fubar. Any comments?

ap_server_state_t {

enum {AP_STARTING, AP_STARTED, AP_STOPPING} state;

enum {AP_FIRST_START, AP_SUBSEQUENT_START} start_type; /* if AP_STARTING */

enum {AP_GRACEFUL_STOP, AP_HARD_STOP} stop_type; /* if AP_STOPPING */

  int         init_hook_last_pass; /* boolean; if AP_STARTING;
                                      gives hints to pre/post config hook
                                      for those that need to do something
                                      exactly once */
};

/* server maintains a global ap_server_state_t...  ap_get_server_state()
 * returns address of it */

void ap_get_server_state(ap_server_state_t **);




Reply via email to