Apache2
motorz.h File Reference
#include "apr.h"
#include "apr_portable.h"
#include "apr_strings.h"
#include "apr_thread_proc.h"
#include "apr_signal.h"
#include "apr_want.h"
#include "ap_config.h"
#include "httpd.h"
#include "mpm_default.h"
#include "http_main.h"
#include "http_log.h"
#include "http_config.h"
#include "http_core.h"
#include "http_connection.h"
#include "scoreboard.h"
#include "ap_mpm.h"
#include "util_mutex.h"
#include "unixd.h"
#include "http_vhost.h"
#include "mpm_common.h"
#include "ap_listen.h"
#include "ap_mmn.h"
#include "apr_poll.h"
#include "apr_skiplist.h"
#include "apr_thread_pool.h"
#include "util_time.h"
#include <stdlib.h>
#include <signal.h>
#include <sys/times.h>
Include dependency graph for motorz.h:

Go to the source code of this file.

Data Structures

struct  motorz_core_t
 
struct  motorz_child_bucket
 
struct  motorz_sb_t
 
struct  motorz_timer_t
 
struct  motorz_conn_t
 

Macros

#define APR_WANT_STDIO
 
#define APR_WANT_STRFUNC
 
#define DEFAULT_SERVER_LIMIT   256
 
#define MAX_SERVER_LIMIT   200000
 
#define DEFAULT_THREAD_LIMIT   64
 
#define MAX_THREAD_LIMIT   100000
 
#define MPM_CHILD_PID(i)   (ap_scoreboard_image->parent[i].pid)
 

Typedefs

typedef struct motorz_core_t motorz_core_t
 
typedef struct motorz_child_bucket motorz_child_bucket
 
typedef struct motorz_sb_t motorz_sb_t
 
typedef void(* motorz_timer_cb) (motorz_core_t *mz, void *baton)
 
typedef void(* motorz_io_sock_cb) (motorz_core_t *mz, apr_socket_t *sock, int flags, void *baton)
 
typedef void(* motorz_io_file_cb) (motorz_core_t *mz, apr_socket_t *sock, int flags, void *baton)
 
typedef struct motorz_timer_t motorz_timer_t
 
typedef struct motorz_conn_t motorz_conn_t
 

Enumerations

enum  motorz_poll_type_e { PT_CSD , PT_ACCEPT , PT_USER }
 

Macro Definition Documentation

◆ APR_WANT_STDIO

#define APR_WANT_STDIO

◆ APR_WANT_STRFUNC

#define APR_WANT_STRFUNC

◆ DEFAULT_SERVER_LIMIT

#define DEFAULT_SERVER_LIMIT   256

◆ DEFAULT_THREAD_LIMIT

#define DEFAULT_THREAD_LIMIT   64

◆ MAX_SERVER_LIMIT

#define MAX_SERVER_LIMIT   200000

◆ MAX_THREAD_LIMIT

#define MAX_THREAD_LIMIT   100000

◆ MPM_CHILD_PID

#define MPM_CHILD_PID (   i)    (ap_scoreboard_image->parent[i].pid)

Typedef Documentation

◆ motorz_child_bucket

◆ motorz_conn_t

typedef struct motorz_conn_t motorz_conn_t

◆ motorz_core_t

typedef struct motorz_core_t motorz_core_t

typedefs

◆ motorz_io_file_cb

typedef void(* motorz_io_file_cb) (motorz_core_t *mz, apr_socket_t *sock, int flags, void *baton)

◆ motorz_io_sock_cb

typedef void(* motorz_io_sock_cb) (motorz_core_t *mz, apr_socket_t *sock, int flags, void *baton)

◆ motorz_sb_t

typedef struct motorz_sb_t motorz_sb_t

◆ motorz_timer_cb

typedef void(* motorz_timer_cb) (motorz_core_t *mz, void *baton)

◆ motorz_timer_t

Enumeration Type Documentation

◆ motorz_poll_type_e

Enumerator
PT_CSD 
PT_ACCEPT 
PT_USER