2
* NB: This file is machine generated, DO NOT EDIT!
4
* Edit and run generate.py instead
10
typedef int vcl_init_f(struct cli *);
11
typedef void vcl_fini_f(struct cli *);
12
typedef int vcl_func_f(struct sess *sp);
15
#define VCL_MET_RECV (1U << 0)
16
#define VCL_MET_PIPE (1U << 1)
17
#define VCL_MET_PASS (1U << 2)
18
#define VCL_MET_HASH (1U << 3)
19
#define VCL_MET_MISS (1U << 4)
20
#define VCL_MET_HIT (1U << 5)
21
#define VCL_MET_FETCH (1U << 6)
22
#define VCL_MET_DELIVER (1U << 7)
23
#define VCL_MET_ERROR (1U << 8)
24
#define VCL_MET_INIT (1U << 9)
25
#define VCL_MET_FINI (1U << 10)
27
#define VCL_MET_MAX 11
29
#define VCL_MET_MASK 0x7ff
32
#define VCL_RET_DELIVER 0
33
#define VCL_RET_ERROR 1
34
#define VCL_RET_FETCH 2
35
#define VCL_RET_HASH 3
36
#define VCL_RET_HIT_FOR_PASS 4
37
#define VCL_RET_LOOKUP 5
39
#define VCL_RET_PASS 7
40
#define VCL_RET_PIPE 8
41
#define VCL_RET_RESTART 9
43
#define VCL_RET_MAX 10
47
#define VCL_CONF_MAGIC 0x7406c509 /* from /dev/random */
49
struct director **director;
62
vcl_func_f *recv_func;
63
vcl_func_f *pipe_func;
64
vcl_func_f *pass_func;
65
vcl_func_f *hash_func;
66
vcl_func_f *miss_func;
68
vcl_func_f *fetch_func;
69
vcl_func_f *deliver_func;
70
vcl_func_f *error_func;
71
vcl_func_f *init_func;
72
vcl_func_f *fini_func;