]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/ConfigOption.cc
2 * Copyright (C) 1996-2014 The Squid Software Foundation and contributors
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.
9 /* DEBUG: section 03 Configuration File Parsing */
12 #include "ConfigOption.h"
14 ConfigOptionVector::~ConfigOptionVector()
16 while (!options
.empty()) {
17 delete options
.back();
23 ConfigOptionVector::parse(char const *option
, const char *value
, int isaReconfig
)
25 std::vector
<ConfigOption
*>::iterator i
= options
.begin();
27 while (i
!= options
.end()) {
28 if ((*i
)->parse(option
,value
, isaReconfig
))
38 ConfigOptionVector::dump(StoreEntry
* e
) const
40 for (std::vector
<ConfigOption
*>::const_iterator i
= options
.begin();
41 i
!= options
.end(); ++i
)