]> git.ipfire.org Git - thirdparty/squid.git/blame - src/comm/comm_internal.h
SourceFormat Enforcement
[thirdparty/squid.git] / src / comm / comm_internal.h
CommitLineData
bbc27441
AJ
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
04f55905
AJ
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
14struct _fd_debug_t {
15 char const *close_file;
16 int close_line;
17};
18
19typedef struct _fd_debug_t fd_debug_t;
20extern fd_debug_t *fdd_table;
21
8a648e8d 22bool isOpen(const int fd);
7e66d5e2 23void commStopHalfClosedMonitor(int fd);
04f55905
AJ
24
25#endif
f53969cc 26