]> git.ipfire.org Git - thirdparty/squid.git/blame - src/sbuf/List.h
Source Format Enforcement (#763)
[thirdparty/squid.git] / src / sbuf / List.h
CommitLineData
bbc27441 1/*
f70aedc4 2 * Copyright (C) 1996-2021 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
6a17a36d
FC
9#ifndef SQUID_SBUFLIST_H
10#define SQUID_SBUFLIST_H
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
6a17a36d 25#endif /* SQUID_SBUFLIST_H */
f53969cc 26