Revert "TODO epan/dissectors/asn1/kerberos/packet-kerberos-template.c new GSS flags"
[wireshark-sm.git] / ui / text_import_regex.h
blobe54309fb65e11f798dde81eb01cdf806f4e9c603
1 /** @file
3 * text_import_regex.h
4 * Regex based alternative to the state machine for text import
5 * February 2021, Paul Weiß <paulniklasweiss@gmail.com>
7 * Wireshark - Network traffic analyzer
8 * By Gerald Combs <gerald@wireshark.org>
9 * Copyright 1998 Gerald Combs
11 * Based on text_import.h by Jaap Keuter <jaap.keuter@xs4all.nl>
13 * SPDX-License-Identifier: GPL-2.0-or-later*
14 *******************************************************************************/
17 #ifndef __TEXT_IMPORT_REGEX_H__
18 #define __TEXT_IMPORT_REGEX_H__
20 #include <glib.h>
22 #include "text_import.h"
24 #ifdef __cplusplus
25 extern "C" {
26 #endif /* __cplusplus */
28 void parse_data(unsigned char* start_field, unsigned char* end_field, enum data_encoding encoding);
30 void parse_dir(const unsigned char* start_field, const unsigned char* end_field, const char* in_indicator, const char* out_indicator);
32 void parse_time(const unsigned char* start_field, const unsigned char* end_field, const char* _format);
34 void parse_seqno(const unsigned char* start_field, const unsigned char* end_field);
36 void flush_packet(void);
38 int text_import_regex(const text_import_info_t *info);
40 #ifdef __cplusplus
42 #endif /* __cplusplus */
44 #endif /* __TEXT_IMPORT_REGEX_H__ */