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_SRC_INSTANCE_H
10 #define SQUID_SRC_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 /* SQUID_SRC_INSTANCE_H */
36 
pid_t Other()
Definition: Instance.cc:128
void WriteOurPid()
creates a PID file; throws on error
Definition: Instance.cc:186
code related to Squid Instance and PID file management
Definition: Instance.h:17
void ThrowIfAlreadyRunning()
Definition: Instance.cc:139

 

Introduction

Documentation

Support

Miscellaneous