]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/tests/stub_libcomm.cc
2 #include "base/AsyncJob.h"
5 #define STUB_API "comm/libcomm.la"
6 #include "tests/STUB.h"
8 #include "comm/AcceptLimiter.h"
9 Comm::AcceptLimiter dummy
;
10 Comm::AcceptLimiter
& Comm::AcceptLimiter::Instance() STUB_RETVAL(dummy
)
11 void Comm::AcceptLimiter::defer(Comm::TcpAcceptor
*afd
) STUB
12 void Comm::AcceptLimiter::removeDead(const Comm::TcpAcceptor
*afd
) STUB
13 void Comm::AcceptLimiter::kick() STUB
15 #include "comm/Connection.h"
16 Comm::Connection::Connection() STUB
17 Comm::Connection::~Connection() STUB
18 Comm::ConnectionPointer
Comm::Connection::copyDetails() const STUB_RETVAL(NULL
)
19 void Comm::Connection::close() STUB
20 peer
* Comm::Connection::getPeer() const STUB_RETVAL(NULL
)
21 void Comm::Connection::setPeer(peer
* p
) STUB
23 #include "comm/ConnOpener.h"
24 bool Comm::ConnOpener::doneAll() const STUB_RETVAL(false)
25 //Comm::ConnOpener::ConnOpener(Comm::ConnectionPointer &, AsyncCall::Pointer &, time_t) STUB
26 //Comm::ConnOpener::~ConnOpener() STUB
27 void Comm::ConnOpener::setHost(const char *) STUB
28 const char * Comm::ConnOpener::getHost() const STUB_RETVAL(NULL
)
30 #include "comm/forward.h"
31 bool Comm::IsConnOpen(const Comm::ConnectionPointer
&) STUB_RETVAL(false)
33 #include "comm/IoCallback.h"
34 void Comm::IoCallback::setCallback(iocb_type type
, AsyncCall::Pointer
&cb
, char *buf
, FREE
*func
, int sz
) STUB
35 void Comm::IoCallback::selectOrQueueWrite() STUB
36 void Comm::IoCallback::cancel(const char *reason
) STUB
37 void Comm::IoCallback::finish(comm_err_t code
, int xerrn
) STUB
38 Comm::CbEntry
*Comm::iocb_table
= NULL
;
39 void Comm::CallbackTableInit() STUB
40 void Comm::CallbackTableDestruct() STUB
42 #include "comm/Loops.h"
43 void Comm::SelectLoopInit(void) STUB
44 void Comm::SetSelect(int, unsigned int, PF
*, void *, time_t) STUB
45 void Comm::ResetSelect(int) STUB
46 comm_err_t
Comm::DoSelect(int) STUB_RETVAL(COMM_ERROR
)
47 void Comm::QuickPollRequired(void) STUB
49 #include "comm/TcpAcceptor.h"
50 //Comm::TcpAcceptor(const Comm::ConnectionPointer &conn, const char *note, const Subscription::Pointer &aSub) STUB
51 void Comm::TcpAcceptor::subscribe(const Subscription::Pointer
&aSub
) STUB
52 void Comm::TcpAcceptor::unsubscribe(const char *) STUB
53 void Comm::TcpAcceptor::acceptNext() STUB
54 void Comm::TcpAcceptor::notify(const comm_err_t flag
, const Comm::ConnectionPointer
&) const STUB
56 #include "comm/Write.h"
57 void Comm::Write(const Comm::ConnectionPointer
&, const char *, int, AsyncCall::Pointer
&, FREE
*) STUB
58 void Comm::Write(const Comm::ConnectionPointer
&conn
, MemBuf
*mb
, AsyncCall::Pointer
&callback
) STUB
59 void Comm::WriteCancel(const Comm::ConnectionPointer
&conn
, const char *reason
) STUB
60 //PF Comm::HandleWrite STUB