]> git.ipfire.org Git - thirdparty/squid.git/blame - src/icp_opcode.h
SourceFormat Enforcement
[thirdparty/squid.git] / src / icp_opcode.h
CommitLineData
bbc27441 1/*
ef57eb7b 2 * Copyright (C) 1996-2016 The Squid Software Foundation and contributors
bbc27441
AJ
3 *
4 * Squid software is distributed under GPLv2+ license and includes
5 * contributions from numerous individuals and organizations.
6 * Please see the COPYING and CONTRIBUTORS files for details.
7 */
8
4b981814
AJ
9#ifndef _SQUID_ICP_OPCODE_H
10#define _SQUID_ICP_OPCODE_H
11
12/// \ingroup ServerProtocolICPAPI
2fefc43c
FC
13enum icp_opcode {
14 enumBegin_ = 0,
15 ICP_INVALID = enumBegin_,
4b981814
AJ
16 ICP_QUERY,
17 ICP_HIT,
18 ICP_MISS,
19 ICP_ERR,
20 ICP_SEND,
21 ICP_SENDA,
22 ICP_DATABEG,
23 ICP_DATA,
24 ICP_DATAEND,
25 ICP_SECHO,
26 ICP_DECHO,
27 ICP_NOTIFY,
28 ICP_INVALIDATE,
29 ICP_DELETE,
30 ICP_UNUSED15,
31 ICP_UNUSED16,
32 ICP_UNUSED17,
33 ICP_UNUSED18,
34 ICP_UNUSED19,
35 ICP_UNUSED20,
36 ICP_MISS_NOFETCH,
37 ICP_DENIED,
38 ICP_HIT_OBJ,
2fefc43c
FC
39 ICP_END,
40 enumEnd_ = ICP_END // We misuse ICP_END in stats. Do not do this elsewhere.
41};
4b981814
AJ
42
43extern const char *icp_opcode_str[];
44
45#endif /* _SQUID_ICP_OPCODE_H */
f53969cc 46