]> git.ipfire.org Git - thirdparty/squid.git/blob - src/SBufList.h
SourceFormat Enforcement
[thirdparty/squid.git] / src / SBufList.h
1 /*
2 * Copyright (C) 1996-2015 The Squid Software Foundation and contributors
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
9 #ifndef SQUID_SBUFLIST_H
10 #define SQUID_SBUFLIST_H
11
12 #include "SBuf.h"
13
14 #include <list>
15
16 typedef 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 */
23 bool IsMember(const SBufList &, const SBuf &, const SBufCaseSensitive isCaseSensitive = caseSensitive);
24
25 #endif /* SQUID_SBUFLIST_H */
26