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 2163
  REQ_STEP(transport,           TRANSPORT,      (wrk, req))
35 49
  REQ_STEP(restart,             RESTART,        (wrk, req))
36 2450
  REQ_STEP(recv,                RECV,           (wrk, req))
37 14
  REQ_STEP(pipe,                PIPE,           (wrk, req))
38 538
  REQ_STEP(pass,                PASS,           (wrk, req))
39 1779
  REQ_STEP(lookup,              LOOKUP,         (wrk, req))
40 8
  REQ_STEP(purge,               PURGE,          (wrk, req))
41 1105
  REQ_STEP(miss,                MISS,           (wrk, req))
42 1618
  REQ_STEP(fetch,               FETCH,          (wrk, req))
43 2224
  REQ_STEP(deliver,             DELIVER,        (wrk, req))
44 94
  REQ_STEP(vclfail,             VCLFAIL,        (wrk, req))
45 247
  REQ_STEP(synth,               SYNTH,          (wrk, req))
46 2380
  REQ_STEP(transmit,            TRANSMIT,       (wrk, req))
47
  #undef REQ_STEP
48
#endif
49
50
#ifdef FETCH_STEP
51 1634
  FETCH_STEP(mkbereq,           MKBEREQ,        (wrk, bo))
52 28
  FETCH_STEP(retry,             RETRY,          (wrk, bo))
53 1662
  FETCH_STEP(startfetch,        STARTFETCH,     (wrk, bo))
54 16
  FETCH_STEP(condfetch,         CONDFETCH,      (wrk, bo))
55 1488
  FETCH_STEP(fetch,             FETCH,          (wrk, bo))
56 917
  FETCH_STEP(fetchbody,         FETCHBODY,      (wrk, bo))
57 1467
  FETCH_STEP(fetchend,          FETCHEND,       (wrk, bo))
58 152
  FETCH_STEP(error,             ERROR,          (wrk, bo))
59 29
  FETCH_STEP(fail,              FAIL,           (wrk, bo))
60 0
  FETCH_STEP(done,              DONE,           ())
61
  #undef FETCH_STEP
62
#endif
63
64
/*lint -restore */