]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/tests/stub_event.cc
2 * Copyright (C) 1996-2015 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 *name
, EVH
* func
, void *arg
, double when
, int, bool cbdata
) STUB_NOP
16 void eventAddIsh(const char *name
, EVH
* func
, void *arg
, double delta_ish
, int) STUB
17 void eventDelete(EVH
* func
, void *arg
) STUB
18 void eventInit(void) STUB
19 void eventFreeMemory(void) STUB
20 int eventFind(EVH
*, void *) STUB_RETVAL(-1)
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
26 EventScheduler::EventScheduler() STUB
27 EventScheduler::~EventScheduler() STUB
28 void EventScheduler::cancel(EVH
* func
, void * arg
) STUB
29 int EventScheduler::timeRemaining() const STUB_RETVAL(1)
30 void EventScheduler::clean() STUB
31 void EventScheduler::dump(StoreEntry
*) STUB
32 bool EventScheduler::find(EVH
* func
, void * arg
) STUB_RETVAL(false)
33 void EventScheduler::schedule(const char *name
, EVH
* func
, void *arg
, double when
, int weight
, bool cbdata
) STUB
34 int EventScheduler::checkEvents(int timeout
) STUB_RETVAL(-1)
35 EventScheduler
*EventScheduler::GetInstance() STUB_RETVAL(NULL
)