/*
- * $Id: ACLProtocolData.cc,v 1.9 2008/02/26 21:49:34 amosjeffries Exp $
+ * $Id$
*
* DEBUG: section 28 Access Control
* AUTHOR: Duane Wessels
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
- *
+ *
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA.
/* explicit instantiation required for some systems */
/// \cond AUTODOCS-IGNORE
-template cbdata_type List<protocol_t>::CBDATA_List;
+template cbdata_type CbDataList<protocol_t>::CBDATA_CbDataList;
/// \endcond
wordlist *
ACLProtocolData::dump()
{
wordlist *W = NULL;
- List<protocol_t> *data = values;
+ CbDataList<protocol_t> *data = values;
while (data != NULL) {
wordlistAdd(&W, ProtocolStr[data->element]);
void
ACLProtocolData::parse()
{
- List<protocol_t> **Tail;
+ CbDataList<protocol_t> **Tail;
char *t = NULL;
- for (Tail = &values; *Tail; Tail = &((*Tail)->next))
-
- ;
+ for (Tail = &values; *Tail; Tail = &((*Tail)->next));
while ((t = strtokFile())) {
- List<protocol_t> *q = new List<protocol_t> (urlParseProtocol(t));
+ CbDataList<protocol_t> *q = new CbDataList<protocol_t> (urlParseProtocol(t));
*(Tail) = q;
Tail = &q->next;
}