Apache2
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
mpm_winnt.h File Reference

WinNT MPM specific. More...

#include "apr_proc_mutex.h"
#include "ap_listen.h"
#include "scoreboard.h"
Include dependency graph for mpm_winnt.h:

Go to the source code of this file.

Macros

#define SERVICE_APACHE_RESTART   128
 
#define AP_DEFAULT_SERVICE_NAME   "Apache2.x"
 
#define SERVICECONFIG   "System\\CurrentControlSet\\Services\\%s"
 
#define SERVICEPARAMS   "System\\CurrentControlSet\\Services\\%s\\Parameters"
 

Enumerations

enum  ap_signal_parent_e { SIGNAL_PARENT_SHUTDOWN, SIGNAL_PARENT_RESTART, SIGNAL_PARENT_RESTART_GRACEFUL }
 

Functions

apr_status_t mpm_service_set_name (apr_pool_t *p, const char **display_name, const char *set_name)
 
apr_status_t mpm_merge_service_args (apr_pool_t *p, apr_array_header_t *args, int fixed_args)
 
apr_status_t mpm_service_to_start (const char **display_name, apr_pool_t *p)
 
apr_status_t mpm_service_started (void)
 
apr_status_t mpm_service_install (apr_pool_t *ptemp, int argc, char const *const *argv, int reconfig)
 
apr_status_t mpm_service_uninstall (void)
 
apr_status_t mpm_service_start (apr_pool_t *ptemp, int argc, char const *const *argv)
 
void mpm_signal_service (apr_pool_t *ptemp, int signal)
 
void mpm_service_stopping (void)
 
void mpm_start_console_handler (void)
 
void mpm_start_child_console_handler (void)
 
void mpm_nt_eventlog_stderr_open (const char *display_name, apr_pool_t *p)
 
void mpm_nt_eventlog_stderr_flush (void)
 
void clean_child_exit (int)
 
void ap_signal_parent (ap_signal_parent_e type)
 
void hold_console_open_on_error (void)
 
void child_main (apr_pool_t *pconf, DWORD parent_pid)
 

Variables

module AP_MODULE_DECLARE_DATA mpm_winnt_module
 
int ap_threads_per_child
 
DWORD my_pid
 
volatile ap_generation_t my_generation
 
apr_proc_mutex_tstart_mutex
 
HANDLE exit_event
 
int winnt_mpm_state
 
OSVERSIONINFO osver
 
DWORD stack_res_flag
 

Detailed Description

WinNT MPM specific.