]>
Commit | Line | Data |
---|---|---|
f5691f9c | 1 | /* |
aa839030 | 2 | * $Id: stub_helper.cc,v 1.2 2006/08/21 00:50:47 robertc Exp $ |
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. | |
23 | * | |
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. | |
28 | * | |
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 | |
38 | void | |
39 | helperSubmit(helper * hlp, const char *buf, HLPCB * callback, void *data) | |
40 | { | |
41 | fatal("Not implemented"); | |
42 | } | |
43 | ||
44 | void | |
45 | helperStatefulSubmit(statefulhelper * hlp, const char *buf, HLPSCB * callback, void *data, helper_stateful_server * lastserver) | |
46 | { | |
47 | fatal("Not implemented"); | |
48 | } | |
49 | ||
50 | void | |
51 | helperStatefulFree(statefulhelper * hlp) | |
52 | { | |
53 | fatal("Not implemented"); | |
54 | } | |
55 | ||
56 | void | |
57 | helperFree(helper * hlp) | |
58 | { | |
59 | fatal("Not implemented"); | |
60 | } | |
61 | ||
aa839030 | 62 | CBDATA_TYPE(helper); |
63 | ||
f5691f9c | 64 | helper * |
65 | helperCreate(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 | ||
74 | void | |
75 | helperStats(StoreEntry * sentry, helper * hlp) | |
76 | { | |
77 | fatal("Not implemented"); | |
78 | } | |
79 | ||
80 | void | |
81 | helperStatefulStats(StoreEntry * sentry, statefulhelper * hlp) | |
82 | { | |
83 | fatal("Not implemented"); | |
84 | } | |
85 | ||
86 | void | |
87 | helperShutdown(helper * hlp) | |
88 | { | |
89 | fatal("Not implemented"); | |
90 | } | |
91 | ||
92 | void | |
93 | helperStatefulShutdown(statefulhelper * hlp) | |
94 | { | |
95 | fatal("Not implemented"); | |
96 | } | |
97 | ||
98 | void | |
99 | helperOpenServers(helper * hlp) | |
100 | { | |
101 | debugs(84,4,"Not implemented"); | |
102 | } | |
103 | ||
104 | void | |
105 | helperStatefulOpenServers(statefulhelper * hlp) | |
106 | { | |
107 | debugs(84,4,"Not implemented"); | |
108 | } | |
109 | ||
110 | void * | |
111 | helperStatefulServerGetData(helper_stateful_server * srv) | |
112 | { | |
113 | fatal("Not implemented"); | |
114 | return NULL; | |
115 | } | |
116 | ||
117 | helper_stateful_server * | |
118 | helperStatefulDefer(statefulhelper * hlp) | |
119 | { | |
120 | fatal("Not implemented"); | |
121 | return NULL; | |
122 | } | |
123 | ||
124 | void | |
125 | helperStatefulReleaseServer(helper_stateful_server * srv) | |
126 | { | |
127 | fatal("Not implemented"); | |
128 | } | |
129 | ||
aa839030 | 130 | CBDATA_TYPE(statefulhelper); |
131 | ||
f5691f9c | 132 | statefulhelper * |
133 | helperStatefulCreate(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 | */ |