]> git.ipfire.org Git - thirdparty/squid.git/blob - src/tests/stub_HttpReply.cc
Author: wessels & Christos Tsantilas
[thirdparty/squid.git] / src / tests / stub_HttpReply.cc
1 /*
2 * $Id: stub_HttpReply.cc,v 1.4 2007/08/13 17:20:58 hno Exp $
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"
36 #include "HttpReply.h"
37
38 HttpReply::HttpReply() : HttpMsg(hoReply)
39 {
40 fatal ("Not implemented.");
41 }
42
43 HttpReply::~HttpReply()
44 {
45 fatal ("Not implemented.");
46 }
47
48 void
49 HttpReply::absorb(HttpReply * new_rep)
50 {
51 fatal ("Not implemented");
52 }
53
54 void
55 HttpReply::setHeaders(HttpVersion ver, http_status status, const char *reason,
56 const char *ctype, int64_t clen, time_t lmt, time_t expires)
57 {
58 fatal ("Not implemented");
59 }
60
61 void
62 HttpReply::packHeadersInto(Packer * p) const
63 {
64 fatal ("Not implemented");
65 }
66
67 void HttpReply::reset()
68 {
69 fatal ("Not implemented");
70 }
71
72 void
73 httpBodyPackInto(const HttpBody * body, Packer * p)
74 {
75 fatal ("Not implemented");
76 }
77
78 bool
79 HttpReply::sanityCheckStartLine(MemBuf *buf, http_status *error)
80 {
81 fatal ("Not implemented");
82 return false;
83 }
84
85 int
86 HttpReply::httpMsgParseError()
87 {
88 fatal ("Not implemented");
89 return 0;
90 }
91
92 bool
93 HttpReply::expectingBody(method_t, int64_t&) const
94 {
95 fatal ("Not implemented");
96 return false;
97 }
98
99 void
100 HttpReply::packFirstLineInto(Packer * p, bool) const
101 {
102 fatal ("Not implemented");
103 }
104
105 bool
106 HttpReply::parseFirstLine(const char *start, const char *end)
107 {
108 fatal ("Not implemented");
109 return false;
110 }
111
112 void
113 HttpReply::hdrCacheInit()
114 {
115 fatal ("Not implemented");
116 }