]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/tests/stub_event.cc
2 * Copyright (C) 1996-2023 The Squid Software Foundation and contributors
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.
12 #define STUB_API "event.cc"
13 #include "tests/STUB.h"
15 void eventAdd(const char *, EVH
*, void *, double, int, bool) STUB_NOP
16 void eventAddIsh(const char *, EVH
*, void *, double, int) STUB
17 void eventDelete(EVH
*, void *) STUB
18 void eventInit(void) STUB
19 int eventFind(EVH
*, void *) STUB_RETVAL(-1)
21 // ev_entry::ev_entry(char const * name, EVH * func, void *arg, double when, int weight, bool cbdata) STUB
22 // ev_entry::~ev_entry() STUB
25 EventScheduler::EventScheduler() STUB
26 EventScheduler::~EventScheduler() STUB
27 void EventScheduler::cancel(EVH
*, void *) STUB
28 int EventScheduler::timeRemaining() const STUB_RETVAL(1)
29 void EventScheduler::clean() STUB
30 void EventScheduler::dump(Packable
*) STUB
31 bool EventScheduler::find(EVH
*, void *) STUB_RETVAL(false)
32 void EventScheduler::schedule(const char *, EVH
*, void *, double, int, bool) STUB
33 int EventScheduler::checkEvents(int) STUB_RETVAL(-1)
34 EventScheduler
*EventScheduler::GetInstance() STUB_RETVAL(nullptr)