stub_event.cc
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2023 The Squid Software Foundation and contributors
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 
9 #include "squid.h"
10 #include "event.h"
11 
12 #define STUB_API "event.cc"
13 #include "tests/STUB.h"
14 
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)
20 
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
23 // EVH *func;
24 
27 void EventScheduler::cancel(EVH *, void *) STUB
28 int EventScheduler::timeRemaining() const STUB_RETVAL(1)
29 void EventScheduler::clean() 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)
35 
int eventFind(EVH *func, void *arg)
Definition: event.cc:145
void EVH void int STUB void eventDelete(EVH *, void *) STUB void eventInit(void) STUB int eventFind(EVH *
Definition: event.cc:127
void eventAdd(const char *, EVH *, void *, double, int, bool) STUB_NOP void eventAddIsh(const char *
#define STUB_RETVAL(x)
Definition: STUB.h:42
#define STUB
macro to stub a void function.
Definition: STUB.h:34
void dump(int debug_lvl) const
Definition: store.cc:1499
void EVH(void *)
Definition: event.h:18
#define STUB_NOP
Definition: STUB.h:38
void eventAddIsh(const char *name, EVH *func, void *arg, double delta_ish, int weight)
Definition: event.cc:114
void eventInit(void)
Definition: event.cc:133

 

Introduction

Documentation

Support

Miscellaneous