stub_helper.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 "helper.h"
11 
12 #define STUB_API "helper.cc"
13 #include "tests/STUB.h"
14 
15 void helperSubmit(helper * hlp, const char *buf, HLPCB * callback, void *data) STUB
16 void helperStatefulSubmit(statefulhelper * hlp, const char *buf, HLPCB * callback, void *data, helper_stateful_server * lastserver) STUB
18 CBDATA_CLASS_INIT(helper);
19 void helper::packStatsInto(Packable *p, const char *label) const STUB
20 
21 void helperShutdown(helper * hlp) STUB
22 void helperStatefulShutdown(statefulhelper * hlp) STUB
23 void helperOpenServers(helper * hlp) STUB
24 void helperStatefulOpenServers(statefulhelper * hlp) STUB
25 helper_stateful_server *helperStatefulDefer(statefulhelper * hlp) STUB_RETVAL(NULL)
27 CBDATA_CLASS_INIT(statefulhelper);
28 
void helperStatefulSubmit(statefulhelper *hlp, const char *buf, HLPCB *callback, void *data, helper_stateful_server *lastserver)
lastserver = "server last used as part of a reserved request sequence"
Definition: helper.cc:490
void const char HLPCB * callback
Definition: stub_helper.cc:16
void helperShutdown(helper *hlp)
Definition: helper.cc:616
void HLPCB(void *, const Helper::Reply &)
Definition: forward.h:27
void const char HLPCB void * data
Definition: stub_helper.cc:16
#define STUB_RETVAL(x)
Definition: STUB.h:41
#define STUB
macro to stub a void function.
Definition: STUB.h:33
void helperStatefulShutdown(statefulhelper *hlp)
Definition: helper.cc:653
void helperStatefulOpenServers(statefulhelper *hlp)
Definition: helper.cc:256
void helperOpenServers(helper *hlp)
Definition: helper.cc:125
void const char * buf
Definition: stub_helper.cc:16
void helperSubmit(helper *hlp, const char *buf, HLPCB *callback, void *data) STUB void helperStatefulSubmit(statefulhelper *hlp
Definition: helper.cc:397
void helperStatefulReleaseServer(helper_stateful_server *srv)
Definition: helper.cc:539
~helper()
Definition: helper.cc:699
#define CBDATA_CLASS_INIT(type)
Definition: cbdata.h:318
#define NULL
Definition: types.h:166

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors