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