#include "squid.h"
#include "comm/Connection.h"
#include "compat/pipe.h"
#include "compat/socket.h"
#include "compat/unistd.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>
Go to the source code of this file.
|
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) |
|
◆ HELLO_BUF_SZ
◆ IPC_CHECK_FAIL
#define IPC_CHECK_FAIL |
( |
|
f, |
|
|
|
d, |
|
|
|
c |
|
) |
| |
Value: if ((f) < 0) { \
debugs(54,
DBG_CRITICAL,
"ERROR: Failed to create helper " d
" FD: " << c); \
} else void(0)
◆ 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 |
|
) |
| |
◆ PutEnvironment()
static void PutEnvironment |
( |
| ) |
|
|
static |
◆ hello_buf
◆ hello_string
const char* hello_string = "hi there\n" |
|
static |
static int ipcCloseAllFD(int prfd, int pwfd, int crfd, int cwfd)