aboutsummaryrefslogtreecommitdiffstats
path: root/rreh.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-12-22 00:57:34 +0000
committerGuy Harris <guy@alum.mit.edu>2003-12-22 00:57:34 +0000
commit9ecc68568ee1dff4ac34514825081a70e6e0f871 (patch)
treeddcbf5b6206389651996ad0f5cdf5de0030aba6e /rreh.h
parentf2f164647ac550ef92b8b05a1fc595b58b740288 (diff)
Pull the code to do reassembly of the request/response line, entity
headers, and body into a separate routine, for use by other dissectors. svn path=/trunk/; revision=9402
Diffstat (limited to 'rreh.h')
-rw-r--r--rreh.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/rreh.h b/rreh.h
new file mode 100644
index 0000000000..f76038c551
--- /dev/null
+++ b/rreh.h
@@ -0,0 +1,37 @@
+/* rreh.h
+ * Declarations of routines handling protocols with a request/response line,
+ * entity headers, a blank line, and an optional body.
+ *
+ * $Id: rreh.h,v 1.1 2003/12/22 00:57:34 guy Exp $
+ *
+ * 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.
+ */
+
+#ifndef __RREH_H__
+#define __RREH_H__
+
+/*
+ * Optionally do reassembly of the request/response line, entity headers,
+ * and body.
+ */
+extern gboolean
+rreh_do_reassembly(tvbuff_t *tvb, packet_info *pinfo,
+ gboolean desegment_headers, gboolean desegment_body);
+
+#endif