Squid Web Cache
master
Loading...
Searching...
No Matches
Flag.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_COMM_FLAG_H
10
#define SQUID_SRC_COMM_FLAG_H
11
12
namespace
Comm
13
{
14
15
typedef
enum
{
16
OK
= 0,
17
COMM_ERROR
= -1,
18
TIMEOUT
= -4,
19
SHUTDOWN
= -5,
20
IDLE
= -6,
/* there are no active fds and no pending callbacks. */
21
INPROGRESS
= -7,
22
ERR_CONNECT
= -8,
23
ERR_DNS
= -9,
24
ERR_CLOSING
= -10,
25
ERR_PROTOCOL
= -11,
/* IPv4 or IPv6 cannot be used on the fd socket */
26
ENDFILE
= -12,
27
ERR__END__
= -999999
/* Dummy entry to make syntax valid (comma on line above), do not use. New entries added above */
28
}
Flag
;
29
30
}
// namespace Comm
31
32
#endif
/* SQUID_SRC_COMM_FLAG_H */
33
Comm
Abstraction layer for TCP, UDP, TLS, UDS and filedescriptor sockets.
Definition
AcceptLimiter.h:17
Comm::Flag
Flag
Definition
Flag.h:15
Comm::ERR_DNS
@ ERR_DNS
Definition
Flag.h:23
Comm::ERR__END__
@ ERR__END__
Definition
Flag.h:27
Comm::SHUTDOWN
@ SHUTDOWN
Definition
Flag.h:19
Comm::ERR_CONNECT
@ ERR_CONNECT
Definition
Flag.h:22
Comm::OK
@ OK
Definition
Flag.h:16
Comm::ENDFILE
@ ENDFILE
Definition
Flag.h:26
Comm::ERR_CLOSING
@ ERR_CLOSING
Definition
Flag.h:24
Comm::IDLE
@ IDLE
Definition
Flag.h:20
Comm::TIMEOUT
@ TIMEOUT
Definition
Flag.h:18
Comm::COMM_ERROR
@ COMM_ERROR
Definition
Flag.h:17
Comm::ERR_PROTOCOL
@ ERR_PROTOCOL
Definition
Flag.h:25
Comm::INPROGRESS
@ INPROGRESS
Definition
Flag.h:21
squid
src
comm
Flag.h
Generated by
1.9.8