1 /**
2  * @file http.h
3  *
4  * @brief Look for HTTP requests in buffers.
5  * @author David Suárez
6  * @author Chris Lightfoot
7  * @date Sun, 28 Oct 2018 16:14:56 +0100
8  *
9  * Copyright (c) 2002 Chris Lightfoot.
10  * Email: chris@ex-parrot.com; WWW: http://www.ex-parrot.com/~chris/
11  *
12  * Copyright (c) 2018 David Suárez.
13  * Email: david.sephirot@gmail.com
14  *
15  */
16 
17 #ifndef __HTTP_H__
18 #define __HTTP_H__
19 
20 #ifdef HAVE_CONFIG_H
21     #include <config.h>
22 #endif
23 
24 #include <stddef.h>
25 
26 unsigned char *find_http_req(const unsigned char *data, const size_t len,
27                              unsigned char **http, size_t *httplen);
28 
29 #endif /* __HTTP_H__ */
30