]> git.ipfire.org Git - thirdparty/squid.git/blob - src/icp_opcode.h
CI: Remove unnecessary test-functionality test wrappers (#1393)
[thirdparty/squid.git] / src / icp_opcode.h
1 /*
2 * Copyright (C) 1996-2023 The Squid Software Foundation and contributors
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
9 #ifndef _SQUID_ICP_OPCODE_H
10 #define _SQUID_ICP_OPCODE_H
11
12 /// \ingroup ServerProtocolICPAPI
13 enum icp_opcode {
14 enumBegin_ = 0,
15 ICP_INVALID = enumBegin_,
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,
39 ICP_END,
40 enumEnd_ = ICP_END // We misuse ICP_END in stats. Do not do this elsewhere.
41 };
42
43 extern const char *icp_opcode_str[];
44
45 #endif /* _SQUID_ICP_OPCODE_H */
46