squid-
cache.org
Optimising Web Delivery
Docs
Download
Donate
Support
About
Contact
Shop
Blog
src
Instance.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_INSTANCE_H
10
#define SQUID_INSTANCE_H
11
12
#if HAVE_SYS_TYPES_H
13
#include <sys/types.h>
14
#endif
15
17
namespace
Instance
{
18
23
void
ThrowIfAlreadyRunning
();
24
27
void
WriteOurPid
();
28
31
pid_t
Other
();
32
33
}
// namespace Instance
34
35
#endif
36
Instance
code related to Squid Instance and PID file management
Definition:
Instance.h:17
Instance::WriteOurPid
void WriteOurPid()
creates a PID file; throws on error
Definition:
Instance.cc:186
Instance::ThrowIfAlreadyRunning
void ThrowIfAlreadyRunning()
Definition:
Instance.cc:139
Instance::Other
pid_t Other()
Definition:
Instance.cc:128
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