]> git.ipfire.org Git - thirdparty/squid.git/blame - src/tests/stub_helper.cc
Cleanup: zap CVS Id tags
[thirdparty/squid.git] / src / tests / stub_helper.cc
CommitLineData
f5691f9c 1/*
262a0e14 2 * $Id$
f5691f9c 3 *
4 * DEBUG: section 84 Helper process maintenance
5 * AUTHOR: Robert Collins
6 *
7 * SQUID Web Proxy Cache http://www.squid-cache.org/
8 * ----------------------------------------------------------
9 *
10 * Squid is the result of efforts by numerous individuals from
11 * the Internet community; see the CONTRIBUTORS file for full
12 * details. Many organizations have provided support for Squid's
13 * development; see the SPONSORS file for full details. Squid is
14 * Copyrighted (C) 2001 by the Regents of the University of
15 * California; see the COPYRIGHT file for full details. Squid
16 * incorporates software developed and/or copyrighted by other
17 * sources; see the CREDITS file for full details.
18 *
19 * This program is free software; you can redistribute it and/or modify
20 * it under the terms of the GNU General Public License as published by
21 * the Free Software Foundation; either version 2 of the License, or
22 * (at your option) any later version.
26ac0430 23 *
f5691f9c 24 * This program is distributed in the hope that it will be useful,
25 * but WITHOUT ANY WARRANTY; without even the implied warranty of
26 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27 * GNU General Public License for more details.
26ac0430 28 *
f5691f9c 29 * You should have received a copy of the GNU General Public License
30 * along with this program; if not, write to the Free Software
31 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA.
32 *
33 */
34
35#include "squid.h"
aa839030 36#include "helper.h"
f5691f9c 37
38void
39helperSubmit(helper * hlp, const char *buf, HLPCB * callback, void *data)
40{
41 fatal("Not implemented");
42}
43
44void
45helperStatefulSubmit(statefulhelper * hlp, const char *buf, HLPSCB * callback, void *data, helper_stateful_server * lastserver)
46{
47 fatal("Not implemented");
48}
49
50void
51helperStatefulFree(statefulhelper * hlp)
52{
53 fatal("Not implemented");
54}
55
56void
57helperFree(helper * hlp)
58{
59 fatal("Not implemented");
60}
61
aa839030 62CBDATA_TYPE(helper);
63
f5691f9c 64helper *
65helperCreate(const char *name)
66{
67 helper *hlp;
aa839030 68 CBDATA_INIT_TYPE(helper);
f5691f9c 69 hlp = cbdataAlloc(helper);
70 hlp->id_name = name;
71 return hlp;
72}
73
74void
53fcd699 75helperStats(StoreEntry * sentry, helper * hlp, const char *label)
f5691f9c 76{
77 fatal("Not implemented");
78}
79
80void
53fcd699 81helperStatefulStats(StoreEntry * sentry, statefulhelper * hlp, const char *label)
f5691f9c 82{
83 fatal("Not implemented");
84}
85
86void
87helperShutdown(helper * hlp)
88{
89 fatal("Not implemented");
90}
91
92void
93helperStatefulShutdown(statefulhelper * hlp)
94{
95 fatal("Not implemented");
96}
97
98void
99helperOpenServers(helper * hlp)
100{
101 debugs(84,4,"Not implemented");
102}
103
104void
105helperStatefulOpenServers(statefulhelper * hlp)
106{
107 debugs(84,4,"Not implemented");
108}
109
110void *
111helperStatefulServerGetData(helper_stateful_server * srv)
112{
113 fatal("Not implemented");
114 return NULL;
115}
116
117helper_stateful_server *
118helperStatefulDefer(statefulhelper * hlp)
119{
120 fatal("Not implemented");
121 return NULL;
122}
123
124void
125helperStatefulReleaseServer(helper_stateful_server * srv)
126{
127 fatal("Not implemented");
128}
129
aa839030 130CBDATA_TYPE(statefulhelper);
131
f5691f9c 132statefulhelper *
133helperStatefulCreate(const char *name)
134{
135 statefulhelper *hlp;
aa839030 136 CBDATA_INIT_TYPE(statefulhelper);
f5691f9c 137 hlp = cbdataAlloc(statefulhelper);
138 hlp->id_name = name;
139 return hlp;
140}
141
142/*
143 * DO NOT MODIFY:
144 * arch-tag: 0b5fe2ac-1652-4b77-8788-85ded78ad3bb
145 */