mime_header.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2017 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 /* DEBUG: section 25 MiME Header Parsing */
10 
11 #ifndef SQUID_MIME_HEADER_H_
12 #define SQUID_MIME_HEADER_H_
13 
31 size_t headersEnd(const char *, size_t, bool &containsObsFold);
32 
33 inline size_t
34 headersEnd(const SBuf &buf, bool &containsObsFold)
35 {
36  return headersEnd(buf.rawContent(), buf.length(), containsObsFold);
37 }
38 
40 inline size_t
41 headersEnd(const char *buf, size_t sz)
42 {
43  bool ignored;
44  return headersEnd(buf, sz, ignored);
45 }
46 
47 #endif /* SQUID_MIME_HEADER_H_ */
48 
Definition: SBuf.h:87
size_type length() const
Returns the number of bytes stored in SBuf.
Definition: SBuf.h:405
void const char * buf
Definition: stub_helper.cc:16
size_t headersEnd(const char *, size_t, bool &containsObsFold)
Definition: mime_header.cc:16
const char * rawContent() const
Definition: SBuf.cc:539

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors