Squid Web Cache
master
Loading...
Searching...
No Matches
Write.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 1996-2025 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_COMM_WRITE_H
10
#define SQUID_SRC_COMM_WRITE_H
11
12
#include "
base/AsyncCall.h
"
13
#include "
comm/forward.h
"
14
#include "mem/forward.h"
15
16
class
MemBuf
;
17
namespace
Comm
18
{
19
26
void
Write
(
const
Comm::ConnectionPointer
&conn,
const
char
*buf,
int
size
,
AsyncCall::Pointer
&callback,
FREE
*free_func);
27
32
void
Write
(
const
Comm::ConnectionPointer
&conn,
MemBuf
*mb,
AsyncCall::Pointer
&callback);
33
35
void
WriteCancel
(
const
Comm::ConnectionPointer
&conn,
const
char
*reason);
36
37
}
// namespace Comm
38
39
#endif
/* SQUID_SRC_COMM_WRITE_H */
40
AsyncCall.h
size
int size
Definition
ModDevPoll.cc:70
MemBuf
Definition
MemBuf.h:24
RefCount< Comm::Connection >
forward.h
IoDirection::Write
@ Write
FREE
void FREE(void *)
Definition
forward.h:37
Comm
Abstraction layer for TCP, UDP, TLS, UDS and filedescriptor sockets.
Definition
AcceptLimiter.h:17
Comm::WriteCancel
void WriteCancel(const Comm::ConnectionPointer &conn, const char *reason)
Cancel the write pending on FD. No action if none pending.
squid
src
comm
Write.h
Generated by
1.9.8