squid-
cache.org
Optimising Web Delivery
Docs
Download
Donate
Support
About
Contact
Shop
Blog
src
unlinkd.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
/* DEBUG: section 02 Unlink Daemon */
10
11
#ifndef SQUID_UNLINKD_H_
12
#define SQUID_UNLINKD_H_
13
14
#if USE_UNLINKD
15
bool
unlinkdNeeded
(
void
);
16
void
unlinkdInit
(
void
);
17
void
unlinkdClose
(
void
);
18
void
unlinkdUnlink
(
const
char
*);
19
#else
/* USE_UNLINKD */
20
21
#if HAVE_UNISTD_H
22
#include <unistd.h>
23
#endif
24
inline
bool
unlinkdNeeded
(
void
) {
return
false
; }
25
inline
void
unlinkdInit
(
void
) {
return
; }
26
inline
void
unlinkdClose
(
void
) {
return
; }
27
inline
void
unlinkdUnlink
(
const
char
* path) { ::unlink(path); }
28
#endif
/* USE_UNLINKD */
29
30
#endif
/* SQUID_UNLINKD_H_ */
31
unlinkdUnlink
void unlinkdUnlink(const char *)
Definition:
unlinkd.cc:39
unlinkdNeeded
bool unlinkdNeeded(void)
Definition:
unlinkd.cc:180
unlinkdClose
void unlinkdClose(void)
Definition:
unlinkd.cc:133
unlinkdInit
void unlinkdInit(void)
Definition:
unlinkd.cc:193
Introduction
About Squid
Why Squid?
Squid Developers
How to Donate
How to Help Out
Getting Squid
Squid Source Packages
Squid Deployment Case-Studies
Squid Software Foundation
Documentation
Quick Setup
Configuration:
Reference
Examples
FAQ
and
Wiki
Guide Books:
Beginners
Definitive
Non-English
More...
Support
Security Advisories
Bugzilla Database
Mailing lists
Contacting us
Commercial services
Project Sponsors
Squid-based products
Miscellaneous
Developer Resources
Related Writings
Related Software:
Authenticators
Ecap
Icap
Ident
Log Analysis
Monitor
Proxies
Redirectors
General
Squid Artwork
Web Site Translations
Japanese
Mirrors
Website:
il
...
full list
FTP Package Archive