#include "squid.h"
#include "comm/Connection.h"
#include "fd.h"
#include "fde.h"
#include "globals.h"
#include "ip/Address.h"
#include "ipc/Kid.h"
#include "rfc1738.h"
#include "SquidConfig.h"
#include "SquidIpc.h"
#include "tools.h"
#include <chrono>
#include <thread>
#include <cstdlib>
Include dependency graph for ipc.cc:
![](ipc_8cc__incl.png)
Go to the source code of this file.
Macros | |
#define | HELLO_BUF_SZ 32 |
#define | IPC_CHECK_FAIL(f, d, c) |
Functions | |
static int | ipcCloseAllFD (int prfd, int pwfd, int crfd, int cwfd) |
static void | PutEnvironment () |
pid_t | ipcCreate (int type, const char *prog, const char *const args[], const char *name, Ip::Address &local_addr, int *rfd, int *wfd, void **hIpc) |
Variables | |
static const char * | hello_string = "hi there\n" |
static char | hello_buf [HELLO_BUF_SZ] |
Macro Definition Documentation
◆ HELLO_BUF_SZ
◆ IPC_CHECK_FAIL
#define IPC_CHECK_FAIL | ( | f, | |
d, | |||
c | |||
) |
Value:
Function Documentation
◆ ipcCloseAllFD()
◆ ipcCreate()
pid_t ipcCreate | ( | int | type, |
const char * | prog, | ||
const char *const | args[], | ||
const char * | name, | ||
Ip::Address & | local_addr, | ||
int * | rfd, | ||
int * | wfd, | ||
void ** | hIpc | ||
) |
Definition at line 70 of file ipc.cc.
Referenced by DiskdIOStrategy::init(), logfile_mod_daemon_open(), IcmpSquid::Open(), Helper::Client::openSessions(), statefulhelper::openSessions(), and unlinkdInit().
◆ PutEnvironment()
|
static |
Definition at line 58 of file ipc.cc.
References Debug::debugOptions, and xcalloc().
Referenced by ipcCreate().
Variable Documentation
◆ hello_buf
|
static |
Definition at line 35 of file ipc.cc.
Referenced by ipcCreate().
◆ hello_string
|
static |
Definition at line 31 of file ipc.cc.
Referenced by ipcCreate().
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:
- FAQ and Wiki
- Guide Books:
- Non-English
- More...
Support
- Security Advisories
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products