2 * Routines for Internet Message Format (IMF) packet disassembly
4 * Copyright (c) 2007 by Graeme Lunt
6 * Wireshark - Network traffic analyzer
7 * By Gerald Combs <gerald@wireshark.org>
8 * Copyright 1999 Gerald Combs
10 * SPDX-License-Identifier: GPL-2.0-or-later
13 #ifndef __PACKET_IMF_H__
14 #define __PACKET_IMF_H__
16 #include <epan/packet.h>
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.
21 * If we have found the last field (terminated by \r\n\r\n) we indicate this in last_field .
23 int imf_find_field_end(tvbuff_t
*tvb
, int offset
, int max_length
, bool *last_field
);
25 #endif /* __PACKET_IMF_H__ */