]> git.ipfire.org Git - thirdparty/squid.git/blame - src/helper/ResultCode.h
Maintenance: automate header guards 2/3 (#1655)
[thirdparty/squid.git] / src / helper / ResultCode.h
CommitLineData
24438ec5 1/*
b8ae064d 2 * Copyright (C) 1996-2023 The Squid Software Foundation and contributors
24438ec5
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
ff9d9458
FC
9#ifndef SQUID_SRC_HELPER_RESULTCODE_H
10#define SQUID_SRC_HELPER_RESULTCODE_H
24438ec5
AJ
11
12namespace Helper
13{
14
15/// enumeration value for the helper response 'result' field.
16enum ResultCode {
17 Unknown, // no result code received, or unknown result code
18 Okay, // "OK" indicating success/positive result
19 Error, // "ERR" indicating success/negative result
20 BrokenHelper, // "BH" indicating failure due to helper internal problems.
32fd6d8a 21 TimedOut, // Request timedout
24438ec5
AJ
22
23 // result codes for backward compatibility with NTLM/Negotiate
24 // TODO: migrate to a variant of the above results with kv-pair parameters
25 TT
26};
27
28} // namespace Helper
29
ff9d9458 30#endif /* SQUID_SRC_HELPER_RESULTCODE_H */
f53969cc 31