![](SquidIpc_8h__dep__incl.png)
Go to the source code of this file.
Namespaces | |
Ip | |
Functions | |
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) |
Function Documentation
◆ 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.
References ipc_params::args, assert, comm_close, comm_connect_addr(), Comm::COMM_ERROR, COMM_NOCLOEXEC, comm_open(), comm_open_listener(), comm_udp_recv(), comm_udp_send(), commSetCloseOnExec(), commSetNonBlocking(), commUnsetFdTimeout(), Config, ipc_params::crfd, ipc_params::cwfd, DBG_CRITICAL, DBG_IMPORTANT, debugs, DebugStream(), err_string, Debug::Extra(), fd_open(), FD_PIPE, fd_table, Ip::Address::FreeAddr(), hello_buf, HELLO_BUF_SZ, hello_string, hIpc, Ip::Address::InitAddr(), IPC_CHECK_FAIL, IPC_FIFO, IPC_NONE, IPC_TCP_SOCKET, ipc_thread_1(), IPC_UDP_SOCKET, IPC_UNIX_DGRAM, IPC_UNIX_STREAM, ipcCloseAllFD(), ipc_params::local_addr, logsFlush(), no_suid(), ok_string, opt_no_daemon, pid, pkHelper, ipc_params::prog, ipc_params::PS, PutEnvironment(), requirePathnameExists(), ResyncDebugLog(), rfc1738_escape, Ip::Address::setEmpty(), SquidConfig::sleep_after_fork, TheProcessKind, ipc_params::type, and xstrerr().
Referenced by DiskdIOStrategy::init(), logfile_mod_daemon_open(), IcmpSquid::Open(), Helper::Client::openSessions(), statefulhelper::openSessions(), and unlinkdInit().
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