Squid Web Cache master
Loading...
Searching...
No Matches
minimal.cc
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#include "squid.h"
10#include "comm.h"
11#include "debug/Stream.h"
12#include "fd.h"
13
14void
15fd_open(const int fd, unsigned int, const char *description)
16{
17 debugs(51, 3, "FD " << fd << ' ' << description);
18}
19
20void
21fd_close(const int fd)
22{
23 debugs(51, 3, "FD " << fd);
24}
25
26void
28{
29 // This stub is needed because DebugFile sets this flag for the open
30 // cache.log file descriptor. Helpers and such must use stdout/stderr
31 // instead of opening a cache.log file. They should never reach this code.
32 assert(false);
33}
34
#define assert(EX)
Definition assert.h:17
void fd_open(const int fd, unsigned int, const char *description)
Definition minimal.cc:15
void commSetCloseOnExec(int)
Definition minimal.cc:27
void fd_close(const int fd)
Definition minimal.cc:21
#define debugs(SECTION, LEVEL, CONTENT)
Definition Stream.h:192