Apache2
simple_types.h File Reference
#include "apr.h"
#include "apr_pools.h"
#include "apr_poll.h"
#include "apr_hash.h"
#include "apr_ring.h"
#include "apr_thread_pool.h"
#include "apr_buckets.h"
#include "httpd.h"
Include dependency graph for simple_types.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  simple_proc_mgr_t
 
struct  simple_sb_t
 
struct  simple_timer_t
 
struct  simple_child_t
 
struct  simple_core_t
 
struct  simple_conn_t
 

Macros

#define SIMPLE_MAX_PROC   (500000)
 
#define SIMPLE_DEF_PROC   (5)
 
#define SIMPLE_MIN_PROC   (1)
 
#define SIMPLE_MAX_THREADS   (500000)
 
#define SIMPLE_DEF_THREADS   (5)
 
#define SIMPLE_MIN_THREADS   (1)
 

Typedefs

typedef struct simple_core_t simple_core_t
 
typedef void(* simple_timer_cb) (simple_core_t *sc, void *baton)
 
typedef void(* simple_io_sock_cb) (simple_core_t *sc, apr_socket_t *sock, int flags, void *baton)
 
typedef void(* simple_io_file_cb) (simple_core_t *sc, apr_socket_t *sock, int flags, void *baton)
 
typedef struct simple_sb_t simple_sb_t
 
typedef struct simple_timer_t simple_timer_t
 
typedef struct simple_child_t simple_child_t
 
typedef struct simple_conn_t simple_conn_t
 

Enumerations

enum  simple_poll_type_e { SIMPLE_PT_CORE_ACCEPT , SIMPLE_PT_CORE_IO , SIMPLE_PT_USER }
 
enum  simple_spawn_type_e { SIMPLE_SPAWN_FORK , SIMPLE_SPAWN_EXEC }
 

Functions

simple_core_tsimple_core_get (void)
 
apr_status_t simple_core_init_once (void)
 

Macro Definition Documentation

◆ SIMPLE_DEF_PROC

#define SIMPLE_DEF_PROC   (5)

◆ SIMPLE_DEF_THREADS

#define SIMPLE_DEF_THREADS   (5)

◆ SIMPLE_MAX_PROC

#define SIMPLE_MAX_PROC   (500000)

◆ SIMPLE_MAX_THREADS

#define SIMPLE_MAX_THREADS   (500000)

◆ SIMPLE_MIN_PROC

#define SIMPLE_MIN_PROC   (1)

◆ SIMPLE_MIN_THREADS

#define SIMPLE_MIN_THREADS   (1)

Typedef Documentation

◆ simple_child_t

◆ simple_conn_t

typedef struct simple_conn_t simple_conn_t

◆ simple_core_t

typedef struct simple_core_t simple_core_t

◆ simple_io_file_cb

typedef void(* simple_io_file_cb) (simple_core_t *sc, apr_socket_t *sock, int flags, void *baton)

◆ simple_io_sock_cb

typedef void(* simple_io_sock_cb) (simple_core_t *sc, apr_socket_t *sock, int flags, void *baton)

◆ simple_sb_t

typedef struct simple_sb_t simple_sb_t

◆ simple_timer_cb

typedef void(* simple_timer_cb) (simple_core_t *sc, void *baton)

◆ simple_timer_t

Enumeration Type Documentation

◆ simple_poll_type_e

Enumerator
SIMPLE_PT_CORE_ACCEPT 
SIMPLE_PT_CORE_IO 
SIMPLE_PT_USER 

◆ simple_spawn_type_e

Enumerator
SIMPLE_SPAWN_FORK 
SIMPLE_SPAWN_EXEC 

Function Documentation

◆ simple_core_get()

simple_core_t* simple_core_get ( void  )

◆ simple_core_init_once()

apr_status_t simple_core_init_once ( void  )