varnish-cache/include/tbl/steps.h
1
/*-
2
 * Copyright (c) 2006 Verdens Gang AS
3
 * Copyright (c) 2006-2015 Varnish Software AS
4
 * All rights reserved.
5
 *
6
 * Author: Poul-Henning Kamp <phk@phk.freebsd.dk>
7
 *
8
 * Redistribution and use in source and binary forms, with or without
9
 * modification, are permitted provided that the following conditions
10
 * are met:
11
 * 1. Redistributions of source code must retain the above copyright
12
 *    notice, this list of conditions and the following disclaimer.
13
 * 2. Redistributions in binary form must reproduce the above copyright
14
 *    notice, this list of conditions and the following disclaimer in the
15
 *    documentation and/or other materials provided with the distribution.
16
 *
17
 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
18
 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19
 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20
 * ARE DISCLAIMED.  IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE
21
 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22
 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23
 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24
 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25
 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26
 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27
 * SUCH DAMAGE.
28
 *
29
 */
30
31
/*lint -save -e525 -e539 */
32
33
#ifdef REQ_STEP
34 3350
  REQ_STEP(transport,           TRANSPORT,      (wrk, req))
35 80
  REQ_STEP(restart,             RESTART,        (wrk, req))
36 3906
  REQ_STEP(recv,                RECV,           (wrk, req))
37 24
  REQ_STEP(pipe,                PIPE,           (wrk, req))
38 646
  REQ_STEP(pass,                PASS,           (wrk, req))
39 3085
  REQ_STEP(lookup,              LOOKUP,         (wrk, req))
40 16
  REQ_STEP(purge,               PURGE,          (wrk, req))
41 2026
  REQ_STEP(miss,                MISS,           (wrk, req))
42 2634
  REQ_STEP(fetch,               FETCH,          (wrk, req))
43 3573
  REQ_STEP(deliver,             DELIVER,        (wrk, req))
44 148
  REQ_STEP(vclfail,             VCLFAIL,        (wrk, req))
45 396
  REQ_STEP(synth,               SYNTH,          (wrk, req))
46 3789
  REQ_STEP(transmit,            TRANSMIT,       (wrk, req))
47
  #undef REQ_STEP
48
#endif
49
50
#ifdef FETCH_STEP
51 2660
  FETCH_STEP(mkbereq,           MKBEREQ,        (wrk, bo))
52 48
  FETCH_STEP(retry,             RETRY,          (wrk, bo))
53 2708
  FETCH_STEP(startfetch,        STARTFETCH,     (wrk, bo))
54 26
  FETCH_STEP(condfetch,         CONDFETCH,      (wrk, bo))
55 2458
  FETCH_STEP(fetch,             FETCH,          (wrk, bo))
56 1496
  FETCH_STEP(fetchbody,         FETCHBODY,      (wrk, bo))
57 2419
  FETCH_STEP(fetchend,          FETCHEND,       (wrk, bo))
58 216
  FETCH_STEP(error,             ERROR,          (wrk, bo))
59 52
  FETCH_STEP(fail,              FAIL,           (wrk, bo))
60 0
  FETCH_STEP(done,              DONE,           ())
61
  #undef FETCH_STEP
62
#endif
63
64
/*lint -restore */