Enable Lua tcp tap userdata.
[obnox/wireshark/wip.git] / epan / dissectors / packet-imf.h
1 /* packet-imf.h
2  * Routines for Internet Message Format (IMF) packet disassembly
3  *
4  * $Id$
5  *
6  * Copyright (c) 2007 by Graeme Lunt
7  *
8  * Wireshark - Network traffic analyzer
9  * By Gerald Combs <gerald@wireshark.org>
10  * Copyright 1999 Gerald Combs
11  *
12  * This program is free software; you can redistribute it and/or
13  * modify it under the terms of the GNU General Public License
14  * as published by the Free Software Foundation; either version 2
15  * of the License, or (at your option) any later version.
16  *
17  * This program is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20  * GNU General Public License for more details.
21  *
22  * You should have received a copy of the GNU General Public License
23  * along with this program; if not, write to the Free Software
24  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
25  */
26
27 /* Find the end of the next IMF field in the tvb. 
28  * This is not necessarily the first \r\n as there may be continuation lines.
29  * 
30  * If we have found the last field (terminated by \r\n\r\n) we indicate this in last_field .
31  */
32
33 int imf_find_field_end(tvbuff_t *tvb, int offset, gint max_length, gboolean *last_field);
34