Go to the source code of this file.
Data Structures | |
| struct | backend_s |
Defines | |
| #define | BACKEND_STATIC_INITIALIZER(proto, init, connect, term) |
Typedefs | |
| typedef struct backend_s | backend_t |
| typedef struct backends_s | backends_t |
Functions | |
| LIST_HEAD (backends_s, backend_s) | |
| int | backend_create (const char *name, u_config_t *, backend_t **) |
| int | backend_serve (backend_t *, int fd) |
| int | backend_free (backend_t *) |
Variables | |
| backend_t * | backend_list [] |
| #define BACKEND_STATIC_INITIALIZER | ( | proto, | |||
| init, | |||||
| connect, | |||||
| term | ) |
{ \
proto, \
init, \
connect, \
term, \
NULL, /* server */ \
NULL, /* config */ \
NULL, /* addr */ \
0, /* model */ \
-1, /* ld */ \
NULL, /* arg */ \
NULL, /* klog */ \
-1, /* id */ \
0, /* nchild */ \
0, /* max_child */ \
0, /* start_child */ \
0, /* max_rq_xchild*/ \
0, /* fork_child */ \
NULL, /* children pids*/ \
LIST_ENTRY_NULL \
}
| typedef struct backends_s backends_t |
| int backend_create | ( | const char * | name, | |
| u_config_t * | , | |||
| backend_t ** | ||||
| ) |
| LIST_HEAD | ( | backends_s | , | |
| backend_s | ||||
| ) |