checkAPIs.pl: support for new-style dissectors in check_hf_entries
[metze/wireshark/wip.git] / epan / dissectors / packet-imf.h
1 /* packet-imf.h
2  * Routines for Internet Message Format (IMF) packet disassembly
3  *
4  * Copyright (c) 2007 by Graeme Lunt
5  *
6  * Wireshark - Network traffic analyzer
7  * By Gerald Combs <gerald@wireshark.org>
8  * Copyright 1999 Gerald Combs
9  *
10  * SPDX-License-Identifier: GPL-2.0-or-later
11  */
12
13 #ifndef __PACKET_IMF_H__
14 #define __PACKET_IMF_H__
15
16 #include <epan/packet.h>
17
18 /* Find the end of the next IMF field in the tvb.
19  * This is not necessarily the first \r\n as there may be continuation lines.
20  *
21  * If we have found the last field (terminated by \r\n\r\n) we indicate this in last_field .
22  */
23 int imf_find_field_end(tvbuff_t *tvb, int offset, gint max_length, gboolean *last_field);
24
25 #endif /* __PACKET_IMF_H__ */