Revision 1.4 |
Revision 1.8 |
Line 31 |
Line 31 |
#include <pth.h>  
|
#include <pth.h>  
|
|
#ifdef HAVE_LIBDMALLOC
#include "dmalloc.h"
#endif
|
#include "config.h" #include "cow_config.h"
|
#include "config.h" #include "cow_config.h"
|
void fixup_server_root();
|
#include "response.h"
#include "pmsg.h"
|
extern int cow_nohands; /* total number of hands */ extern int cow_nohands_running; /* current number of handlers running */ extern unsigned long cow_max_conn; /* max simultaneous connections */ extern unsigned long cow_cur_conn; /* current simultaneous connection */
|
extern int cow_nohands; /* total number of hands */ extern int cow_nohands_running; /* current number of handlers running */ extern unsigned long cow_max_conn; /* max simultaneous connections */ extern unsigned long cow_cur_conn; /* current simultaneous connection */
|
|
extern unsigned long cow_tot_parsed; /* total connections completely parsed */
extern unsigned long cow_tot_served; /* total connections completely served */
extern int zero, one; /* used by setsockopt calls */
extern int server_root_len; /* string length of server root */
/* pool of pmsg structures */
extern reqnode *pmsgpool, *pmsgpool_first;
|
extern pth_barrier_t init_bar; /* initialization barrier structure */ extern pth_t tid_depot; /* depot's thread id */ #endif /* _COW_H_ */
|
extern pth_barrier_t init_bar; /* initialization barrier structure */ extern pth_t tid_depot; /* depot's thread id */ #endif /* _COW_H_ */
|