]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/htcp.h
Source Format Enforcement (#532)
[thirdparty/squid.git] / src / htcp.h
index b1d7df915546abb9f9afa0f3c57e7a993f5fb5ac..850ba9bc368c0c9865d54d5a64b31cbc066b2ca6 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 1996-2017 The Squid Software Foundation and contributors
+ * Copyright (C) 1996-2020 The Squid Software Foundation and contributors
  *
  * Squid software is distributed under GPLv2+ license and includes
  * contributions from numerous individuals and organizations.
@@ -22,6 +22,10 @@ class HtcpReplyData
 
 public:
     HtcpReplyData();
+
+    /// parses request header from the buffer
+    bool parseHeader(const char *buffer, const size_t size);
+
     int hit;
     HttpHeader hdr;
     uint32_t msg_id;