]> git.ipfire.org Git - thirdparty/squid.git/blob - src/comm/comm_internal.h
Boilerplate: update copyright blurbs on src/
[thirdparty/squid.git] / src / comm / comm_internal.h
1 /*
2 * Copyright (C) 1996-2014 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_COMM_COMM_INTERNAL_H
10 #define SQUID_COMM_COMM_INTERNAL_H
11
12 /* misc collection of bits shared by Comm code, but not needed by the rest of Squid. */
13
14 struct _fd_debug_t {
15 char const *close_file;
16 int close_line;
17 };
18
19 typedef struct _fd_debug_t fd_debug_t;
20 extern fd_debug_t *fdd_table;
21
22 bool isOpen(const int fd);
23 void commStopHalfClosedMonitor(int fd);
24
25 #endif