Squid Web Cache
master
Loading...
Searching...
No Matches
ResultCode.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 1996-2025 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_SRC_HELPER_RESULTCODE_H
10
#define SQUID_SRC_HELPER_RESULTCODE_H
11
12
namespace
Helper
13
{
14
16
enum
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.
21
TimedOut
,
// Request timedout
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
30
#endif
/* SQUID_SRC_HELPER_RESULTCODE_H */
31
Helper
helper protocol primitives
Definition
helper.h:39
Helper::ResultCode
ResultCode
enumeration value for the helper response 'result' field.
Definition
ResultCode.h:16
Helper::Unknown
@ Unknown
Definition
ResultCode.h:17
Helper::BrokenHelper
@ BrokenHelper
Definition
ResultCode.h:20
Helper::Error
@ Error
Definition
ResultCode.h:19
Helper::TT
@ TT
Definition
ResultCode.h:25
Helper::TimedOut
@ TimedOut
Definition
ResultCode.h:21
Helper::Okay
@ Okay
Definition
ResultCode.h:18
squid
src
helper
ResultCode.h
Generated by
1.9.8