]> git.ipfire.org Git - thirdparty/squid.git/blame - src/tests/stub_event.cc
Source Format Enforcement (#532)
[thirdparty/squid.git] / src / tests / stub_event.cc
CommitLineData
4e0938ef 1/*
77b1029d 2 * Copyright (C) 1996-2020 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"
4c14658e
AJ
10#include "event.h"
11
12#define STUB_API "event.cc"
13#include "tests/STUB.h"
14
36378e12 15void eventAdd(const char *name, EVH * func, void *arg, double when, int, bool cbdata) STUB_NOP
4c14658e
AJ
16void eventAddIsh(const char *name, EVH * func, void *arg, double delta_ish, int) STUB
17void eventDelete(EVH * func, void *arg) STUB
18void eventInit(void) STUB
19void eventFreeMemory(void) STUB
20int eventFind(EVH *, void *) STUB_RETVAL(-1)
21
22// ev_entry::ev_entry(char const * name, EVH * func, void *arg, double when, int weight, bool cbdata) STUB
23// ev_entry::~ev_entry() STUB
4c14658e
AJ
24// EVH *func;
25
4c14658e
AJ
26EventScheduler::EventScheduler() STUB
27EventScheduler::~EventScheduler() STUB
28void EventScheduler::cancel(EVH * func, void * arg) STUB
7384b69e 29int EventScheduler::timeRemaining() const STUB_RETVAL(1)
4c14658e 30void EventScheduler::clean() STUB
4c14658e
AJ
31void EventScheduler::dump(StoreEntry *) STUB
32bool EventScheduler::find(EVH * func, void * arg) STUB_RETVAL(false)
33void EventScheduler::schedule(const char *name, EVH * func, void *arg, double when, int weight, bool cbdata) STUB
34int EventScheduler::checkEvents(int timeout) STUB_RETVAL(-1)
35EventScheduler *EventScheduler::GetInstance() STUB_RETVAL(NULL)
f53969cc 36