Set captures preferences for PREF_EFFECT_CAPTURE.
[metze/wireshark/wip.git] / epan / req_resp_hdrs.h
1 /* req_resp_hdrs.h
2  * Declarations of routines handling protocols with a request/response line,
3  * headers, a blank line, and an optional body.
4  *
5  * Wireshark - Network traffic analyzer
6  * By Gerald Combs <gerald@wireshark.org>
7  * Copyright 1998 Gerald Combs
8  *
9  * This program is free software; you can redistribute it and/or
10  * modify it under the terms of the GNU General Public License
11  * as published by the Free Software Foundation; either version 2
12  * of the License, or (at your option) any later version.
13  *
14  * This program is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17  * GNU General Public License for more details.
18  *
19  * You should have received a copy of the GNU General Public License
20  * along with this program; if not, write to the Free Software
21  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
22  */
23
24 #ifndef __REQ_RESP_HDRS_H__
25 #define __REQ_RESP_HDRS_H__
26
27 #include "ws_symbol_export.h"
28
29 /**
30  * Optionally do reassembly of the request/response line, headers, and body.
31  *
32  *  @param tvb  The buffer.
33  *  @param offset   The offset in the buffer to begin inspection.
34  *  @param pinfo    Packet info from the parent protocol.
35  *  @param desegment_headers    Do desegmentation on headers.
36  *  @param desegment_body   Do desegmenation on body.
37  *  @return TRUE if desegmentation is complete otherwise FALSE
38  */
39 WS_DLL_PUBLIC gboolean
40 req_resp_hdrs_do_reassembly(tvbuff_t *tvb, const  int offset, packet_info *pinfo,
41     const gboolean desegment_headers, const gboolean desegment_body);
42
43 #endif