Instance.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2019 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 
24 
27 void WriteOurPid();
28 
31 pid_t Other();
32 
33 } // namespace Instance
34 
35 #endif
36 
pid_t Other()
Definition: Instance.cc:127
void WriteOurPid()
creates a PID file; throws on error
Definition: Instance.cc:177
code related to Squid Instance and PID file management
Definition: Instance.h:17
void ThrowIfAlreadyRunning()
Definition: Instance.cc:138

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors