]>
Commit | Line | Data |
---|---|---|
4e0938ef | 1 | /* |
4ac4a490 | 2 | * Copyright (C) 1996-2017 The Squid Software Foundation and contributors |
4e0938ef AJ |
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 | ||
f7f3304a | 9 | #include "squid.h" |
1b76e6c1 | 10 | #include "base/AsyncJob.h" |
1b76e6c1 AJ |
11 | |
12 | #define STUB_API "comm/libcomm.la" | |
13 | #include "tests/STUB.h" | |
14 | ||
ba465675 | 15 | #include "comm/AcceptLimiter.h" |
1b76e6c1 AJ |
16 | Comm::AcceptLimiter dummy; |
17 | Comm::AcceptLimiter & Comm::AcceptLimiter::Instance() STUB_RETVAL(dummy) | |
69bb9399 AJ |
18 | void Comm::AcceptLimiter::defer(const Comm::TcpAcceptor::Pointer &afd) STUB |
19 | void Comm::AcceptLimiter::removeDead(const Comm::TcpAcceptor::Pointer &afd) STUB | |
1b76e6c1 AJ |
20 | void Comm::AcceptLimiter::kick() STUB |
21 | ||
22 | #include "comm/Connection.h" | |
23 | Comm::Connection::Connection() STUB | |
24 | Comm::Connection::~Connection() STUB | |
25 | Comm::ConnectionPointer Comm::Connection::copyDetails() const STUB_RETVAL(NULL) | |
26 | void Comm::Connection::close() STUB | |
a3c6762c FC |
27 | CachePeer * Comm::Connection::getPeer() const STUB_RETVAL(NULL) |
28 | void Comm::Connection::setPeer(CachePeer * p) STUB | |
1b76e6c1 AJ |
29 | |
30 | #include "comm/ConnOpener.h" | |
a016163c | 31 | CBDATA_NAMESPACED_CLASS_INIT(Comm, ConnOpener); |
1b76e6c1 | 32 | bool Comm::ConnOpener::doneAll() const STUB_RETVAL(false) |
a016163c AJ |
33 | void Comm::ConnOpener::start() STUB |
34 | void Comm::ConnOpener::swanSong() STUB | |
35 | Comm::ConnOpener::ConnOpener(Comm::ConnectionPointer &, AsyncCall::Pointer &, time_t) : AsyncJob("STUB Comm::ConnOpener") STUB | |
f53969cc SM |
36 | Comm::ConnOpener::~ConnOpener() STUB |
37 | void Comm::ConnOpener::setHost(const char *) STUB | |
38 | const char * Comm::ConnOpener::getHost() const STUB_RETVAL(NULL) | |
1b76e6c1 AJ |
39 | |
40 | #include "comm/forward.h" | |
f53969cc | 41 | bool Comm::IsConnOpen(const Comm::ConnectionPointer &) STUB_RETVAL(false) |
1b76e6c1 AJ |
42 | |
43 | #include "comm/IoCallback.h" | |
f53969cc SM |
44 | void Comm::IoCallback::setCallback(iocb_type, AsyncCall::Pointer &, char *, FREE *, int) STUB |
45 | void Comm::IoCallback::selectOrQueueWrite() STUB | |
46 | void Comm::IoCallback::cancel(const char *reason) STUB | |
47 | void Comm::IoCallback::finish(Comm::Flag code, int xerrn) STUB | |
48 | Comm::CbEntry *Comm::iocb_table = NULL; | |
1b76e6c1 AJ |
49 | void Comm::CallbackTableInit() STUB |
50 | void Comm::CallbackTableDestruct() STUB | |
51 | ||
52 | #include "comm/Loops.h" | |
53 | void Comm::SelectLoopInit(void) STUB | |
54 | void Comm::SetSelect(int, unsigned int, PF *, void *, time_t) STUB | |
55 | void Comm::ResetSelect(int) STUB | |
4ee57cbe | 56 | Comm::Flag Comm::DoSelect(int) STUB_RETVAL(Comm::COMM_ERROR) |
1b76e6c1 AJ |
57 | void Comm::QuickPollRequired(void) STUB |
58 | ||
7e66d5e2 AJ |
59 | #include "comm/Read.h" |
60 | void Comm::Read(const Comm::ConnectionPointer &conn, AsyncCall::Pointer &callback) STUB | |
61 | bool Comm::MonitorsRead(int fd) STUB_RETVAL(false) | |
4ee57cbe | 62 | Comm::Flag Comm::ReadNow(CommIoCbParams ¶ms, SBuf &buf) STUB_RETVAL(Comm::COMM_ERROR) |
7e66d5e2 AJ |
63 | void Comm::ReadCancel(int fd, AsyncCall::Pointer &callback) STUB |
64 | //void Comm::HandleRead(int, void*) STUB | |
65 | ||
66 | void comm_read_base(const Comm::ConnectionPointer &conn, char *buf, int len, AsyncCall::Pointer &callback) STUB | |
67 | void comm_read_cancel(int fd, IOCB *callback, void *data) STUB | |
68 | ||
1b76e6c1 AJ |
69 | #include "comm/TcpAcceptor.h" |
70 | //Comm::TcpAcceptor(const Comm::ConnectionPointer &conn, const char *note, const Subscription::Pointer &aSub) STUB | |
71 | void Comm::TcpAcceptor::subscribe(const Subscription::Pointer &aSub) STUB | |
72 | void Comm::TcpAcceptor::unsubscribe(const char *) STUB | |
73 | void Comm::TcpAcceptor::acceptNext() STUB | |
c8407295 | 74 | void Comm::TcpAcceptor::notify(const Comm::Flag flag, const Comm::ConnectionPointer &) const STUB |
1b76e6c1 AJ |
75 | |
76 | #include "comm/Write.h" | |
77 | void Comm::Write(const Comm::ConnectionPointer &, const char *, int, AsyncCall::Pointer &, FREE *) STUB | |
78 | void Comm::Write(const Comm::ConnectionPointer &conn, MemBuf *mb, AsyncCall::Pointer &callback) STUB | |
79 | void Comm::WriteCancel(const Comm::ConnectionPointer &conn, const char *reason) STUB | |
0bf57f33 | 80 | /*PF*/ void Comm::HandleWrite(int, void*) STUB |
f53969cc | 81 |