~clint-fewbar/ubuntu/precise/squid3/ignore-sighup-early

« back to all changes in this revision

Viewing changes to src/SwapDir.cc

  • Committer: Bazaar Package Importer
  • Author(s): Luigi Gangitano
  • Date: 2009-09-24 14:51:06 UTC
  • mfrom: (1.1.12 upstream)
  • mto: (20.2.1 sid)
  • mto: This revision was merged to the branch mainline in revision 21.
  • Revision ID: james.westby@ubuntu.com-20090924145106-38jgrzmj0d73pha5
Tags: 3.1.0.13-1
* Upload to experimental

* New upstream release
  - Fixes Follow-X-Forwarded-For support (Closes: #523943)
  - Adds IPv6 support (Closes: #432351)

* debian/rules
  - Removed obsolete configuration options
  - Enable db and radius basic authentication modules

* debian/patches/01-cf.data.debian
  - Adapted to new upstream version

* debian/patches/02-makefile-defaults
  - Adapted to new upstream version

* debian/{squid.postinst,squid.rc,README.Debian,watch}
  - Updated references to squid 3.1

* debian/squid3.install
  - Install CSS file for error pages
  - Install manual pages for new authentication modules

* debian/squid3-common.install
  - Install documented version of configuration file in /usr/share/doc/squid3

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
 
2
2
/*
3
 
 * $Id: SwapDir.cc,v 1.14 2007/08/13 17:20:51 hno Exp $
 
3
 * $Id$
4
4
 *
5
5
 * DEBUG: section 20    Swap Dir base object
6
6
 * AUTHOR: Robert Collins
21
21
 *  it under the terms of the GNU General Public License as published by
22
22
 *  the Free Software Foundation; either version 2 of the License, or
23
23
 *  (at your option) any later version.
24
 
 *  
 
24
 *
25
25
 *  This program is distributed in the hope that it will be useful,
26
26
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
27
27
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
28
28
 *  GNU General Public License for more details.
29
 
 *  
 
29
 *
30
30
 *  You should have received a copy of the GNU General Public License
31
31
 *  along with this program; if not, write to the Free Software
32
32
 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA.
44
44
}
45
45
 
46
46
void
47
 
SwapDir::create(){}
 
47
SwapDir::create() {}
48
48
 
49
49
void
50
 
SwapDir::dump(StoreEntry &)const{}
 
50
SwapDir::dump(StoreEntry &)const {}
51
51
 
52
52
bool
53
53
SwapDir::doubleCheck(StoreEntry &)
56
56
}
57
57
 
58
58
void
59
 
SwapDir::unlink(StoreEntry &){}
 
59
SwapDir::unlink(StoreEntry &) {}
60
60
 
61
61
void
62
62
SwapDir::stat(StoreEntry &output) const
79
79
SwapDir::statfs(StoreEntry &)const {}
80
80
 
81
81
void
82
 
SwapDir::maintain(){}
 
82
SwapDir::maintain() {}
83
83
 
84
84
size_t
85
85
SwapDir::minSize() const
89
89
}
90
90
 
91
91
void
92
 
SwapDir::reference(StoreEntry &){}
 
92
SwapDir::reference(StoreEntry &) {}
93
93
 
94
94
void
95
 
SwapDir::dereference(StoreEntry &){}
 
95
SwapDir::dereference(StoreEntry &) {}
96
96
 
97
97
int
98
98
SwapDir::callback()
101
101
}
102
102
 
103
103
void
104
 
SwapDir::sync(){}
 
104
SwapDir::sync() {}
105
105
 
106
106
/* Move to StoreEntry ? */
107
107
bool
129
129
}
130
130
 
131
131
void
132
 
SwapDir::openLog(){}
 
132
SwapDir::openLog() {}
133
133
 
134
134
void
135
 
SwapDir::closeLog(){}
 
135
SwapDir::closeLog() {}
136
136
 
137
137
int
138
138
SwapDir::writeCleanStart()
141
141
}
142
142
 
143
143
void
144
 
SwapDir::writeCleanDone(){}
 
144
SwapDir::writeCleanDone() {}
145
145
 
146
146
void
147
 
SwapDir::logEntry(const StoreEntry & e, int op) const{}
 
147
SwapDir::logEntry(const StoreEntry & e, int op) const {}
148
148
 
149
149
char const *
150
150
SwapDir::type() const
153
153
}
154
154
 
155
155
/* NOT performance critical. Really. Don't bother optimising for speed
156
 
 * - RBC 20030718 
 
156
 * - RBC 20030718
157
157
 */
158
158
ConfigOption *
159
159
SwapDir::getOptionTree() const
263
263
}
264
264
 
265
265
/* Swapdirs do not have an index of their own - thus they ask their parent..
266
 
 * but the parent child relationship isn't implemented yet 
 
266
 * but the parent child relationship isn't implemented yet
267
267
 */
268
268
StoreEntry *
269
269
 
270
270
SwapDir::get
271
 
    (const cache_key *key)
 
271
(const cache_key *key)
272
272
{
273
273
    return Store::Root().get(key);
274
274
}
276
276
void
277
277
 
278
278
SwapDir::get
279
 
    (String const key, STOREGETCLIENT callback, void *cbdata)
 
279
(String const key, STOREGETCLIENT callback, void *cbdata)
280
280
{
281
281
    fatal("not implemented");
282
282
}