Flag.h
Go to the documentation of this file.
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_SRC_COMM_FLAG_H
10#define _SQUID_SRC_COMM_FLAG_H
11
12namespace Comm
13{
14
15typedef enum {
16 OK = 0,
18 TIMEOUT = -4,
20 IDLE = -6, /* there are no active fds and no pending callbacks. */
23 ERR_DNS = -9,
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 */
29
30} // namespace Comm
31
32#endif /* _SQUID_SRC_COMM_FLAG_H */
33
Abstraction layer for TCP, UDP, TLS, UDS and filedescriptor sockets.
Definition: AcceptLimiter.h:17
Flag
Definition: Flag.h:15
@ ERR_DNS
Definition: Flag.h:23
@ ERR__END__
Definition: Flag.h:27
@ SHUTDOWN
Definition: Flag.h:19
@ ERR_CONNECT
Definition: Flag.h:22
@ OK
Definition: Flag.h:16
@ ENDFILE
Definition: Flag.h:26
@ ERR_CLOSING
Definition: Flag.h:24
@ IDLE
Definition: Flag.h:20
@ TIMEOUT
Definition: Flag.h:18
@ COMM_ERROR
Definition: Flag.h:17
@ ERR_PROTOCOL
Definition: Flag.h:25
@ INPROGRESS
Definition: Flag.h:21

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors