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
17namespace Instance {
18
24
27void WriteOurPid();
28
31pid_t Other();
32
33} // namespace Instance
34
35#endif
36
code related to Squid Instance and PID file management
Definition: Instance.h:17
void WriteOurPid()
creates a PID file; throws on error
Definition: Instance.cc:186
void ThrowIfAlreadyRunning()
Definition: Instance.cc:139
pid_t Other()
Definition: Instance.cc:128

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors