stub_event.cc
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2017 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 *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)
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
24 // EVH *func;
25 
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)
36 
Definition: cbdata.cc:60
void eventAddIsh(const char *name, EVH *func, void *arg, double delta_ish, int weight)
Definition: event.cc:116
#define STUB_RETVAL(x)
Definition: STUB.h:41
int eventFind(EVH *func, void *arg)
Definition: event.cc:155
#define STUB
macro to stub a void function.
Definition: STUB.h:33
#define STUB_NOP
Definition: STUB.h:37
void EVH void double int STUB void eventDelete(EVH *func, void *arg) STUB void eventInit(void) STUB void eventFreeMemory(void) STUB int eventFind(EVH *
Definition: event.cc:131
void eventAdd(const char *name, EVH *func, void *arg, double when, int, bool cbdata) STUB_NOP void eventAddIsh(const char *name
void eventFreeMemory(void)
Definition: event.cc:149
#define NULL
Definition: types.h:166
#define false
Definition: GnuRegex.c:233
void eventInit(void)
Definition: event.cc:137

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors