mime_header.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2023 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_SRC_MIME_HEADER_H
12 #define SQUID_SRC_MIME_HEADER_H
13 
14 #include "sbuf/forward.h"
15 
16 #include <cstddef>
17 
35 size_t headersEnd(const char *, size_t, bool &containsObsFold);
36 
37 size_t headersEnd(const SBuf &buf, bool &containsObsFold);
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_SRC_MIME_HEADER_H */
48 
Definition: SBuf.h:93
size_t headersEnd(const char *, size_t, bool &containsObsFold)
Definition: mime_header.cc:17

 

Introduction

Documentation

Support

Miscellaneous