]> git.ipfire.org Git - thirdparty/squid.git/blame - src/sbuf/List.h
Maintenance: automate header guards 2/3 (#1655)
[thirdparty/squid.git] / src / sbuf / List.h
CommitLineData
bbc27441 1/*
b8ae064d 2 * Copyright (C) 1996-2023 The Squid Software Foundation and contributors
bbc27441
AJ
3 *
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.
7 */
8
ff9d9458
FC
9#ifndef SQUID_SRC_SBUF_LIST_H
10#define SQUID_SRC_SBUF_LIST_H
6a17a36d 11
517fc64c 12#include "sbuf/SBuf.h"
6a17a36d
FC
13
14#include <list>
15
16typedef std::list<SBuf> SBufList;
17
18/** check for membership
19 *
20 * \return true if the supplied SBuf is a member of the list
21 * \param case_sensitive one of caseSensitive or caseInsensitive
22 */
23bool IsMember(const SBufList &, const SBuf &, const SBufCaseSensitive isCaseSensitive = caseSensitive);
24
ff9d9458 25#endif /* SQUID_SRC_SBUF_LIST_H */
f53969cc 26