]> git.ipfire.org Git - thirdparty/squid.git/blob - src/SBufList.h
d95815b86000ed30d26a6e5c796d7a25d4a9c18f
[thirdparty/squid.git] / src / SBufList.h
1 #ifndef SQUID_SBUFLIST_H
2 #define SQUID_SBUFLIST_H
3
4 #include "SBuf.h"
5
6 #include <list>
7
8 typedef std::list<SBuf> SBufList;
9
10 /** check for membership
11 *
12 * \return true if the supplied SBuf is a member of the list
13 * \param case_sensitive one of caseSensitive or caseInsensitive
14 */
15 bool IsMember(const SBufList &, const SBuf &, const SBufCaseSensitive isCaseSensitive = caseSensitive);
16
17 class wordlist;
18
19 /// convert a wordlist to a SBufList
20 SBufList ToSBufList(wordlist *);
21
22 #endif /* SQUID_SBUFLIST_H */