stub_event.cc
Go to the documentation of this file.
1/*
2 * Copyright (C) 1996-2022 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
15void eventAdd(const char *, EVH *, void *, double, int, bool) STUB_NOP
16void eventAddIsh(const char *, EVH *, void *, double, int) STUB
17void eventDelete(EVH *, void *) STUB
18void eventInit(void) STUB
19int 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
27void EventScheduler::cancel(EVH *, void *) STUB
28int EventScheduler::timeRemaining() const STUB_RETVAL(1)
29void EventScheduler::clean() STUB
30void EventScheduler::dump(Packable *) STUB
31bool EventScheduler::find(EVH *, void *) STUB_RETVAL(false)
32void EventScheduler::schedule(const char *, EVH *, void *, double, int, bool) STUB
33int EventScheduler::checkEvents(int) STUB_RETVAL(-1)
34EventScheduler *EventScheduler::GetInstance() STUB_RETVAL(nullptr)
35
#define false
Definition: GnuRegex.c:240
#define STUB
macro to stub a void function.
Definition: STUB.h:33
#define STUB_NOP
Definition: STUB.h:37
#define STUB_RETVAL(x)
Definition: STUB.h:41
void eventAddIsh(const char *name, EVH *func, void *arg, double delta_ish, int weight)
Definition: event.cc:114
int eventFind(EVH *func, void *arg)
Definition: event.cc:145
void eventInit(void)
Definition: event.cc:133
void EVH(void *)
Definition: event.h:18
void eventAdd(const char *, EVH *, void *, double, int, bool) STUB_NOP void eventAddIsh(const char *
void EVH void int STUB void eventDelete(EVH *, void *) STUB void eventInit(void) STUB int eventFind(EVH *
Definition: event.cc:127

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors