2003-12-23 02:29:11 +00:00
|
|
|
/* req_resp_hdrs.h
|
2003-12-22 00:57:34 +00:00
|
|
|
* Declarations of routines handling protocols with a request/response line,
|
2003-12-23 02:29:11 +00:00
|
|
|
* headers, a blank line, and an optional body.
|
2003-12-22 00:57:34 +00:00
|
|
|
*
|
2004-07-18 00:24:25 +00:00
|
|
|
* $Id$
|
2003-12-22 00:57:34 +00:00
|
|
|
*
|
|
|
|
* Ethereal - Network traffic analyzer
|
|
|
|
* By Gerald Combs <gerald@ethereal.com>
|
|
|
|
* Copyright 1998 Gerald Combs
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License
|
|
|
|
* as published by the Free Software Foundation; either version 2
|
|
|
|
* of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
|
|
*/
|
|
|
|
|
2003-12-23 02:29:11 +00:00
|
|
|
#ifndef __REQ_RESP_HDRS_H__
|
|
|
|
#define __REQ_RESP_HDRS_H__
|
2003-12-22 00:57:34 +00:00
|
|
|
|
2005-03-12 09:59:28 +00:00
|
|
|
/**
|
2003-12-23 02:29:11 +00:00
|
|
|
* Optionally do reassembly of the request/response line, headers, and body.
|
2005-03-12 09:59:28 +00:00
|
|
|
*
|
|
|
|
* @param tvb The buffer.
|
|
|
|
* @param offset The offset in the buffer to begin inspection.
|
|
|
|
* @param pinfo Packet info from the parent protocol.
|
|
|
|
* @param desegment_headers Do desegmentation on headers.
|
|
|
|
* @param desegment_body Do desegmenation on body.
|
|
|
|
* @return TRUE if desegmentation is complete otherwise FALSE
|
2003-12-22 00:57:34 +00:00
|
|
|
*/
|
|
|
|
extern gboolean
|
2005-01-20 04:37:03 +00:00
|
|
|
req_resp_hdrs_do_reassembly(tvbuff_t *tvb, int offset, packet_info *pinfo,
|
2003-12-22 00:57:34 +00:00
|
|
|
gboolean desegment_headers, gboolean desegment_body);
|
|
|
|
|
|
|
|
#endif
|