Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
text_import_regex.h
Go to the documentation of this file.
1
17#ifndef __TEXT_IMPORT_REGEX_H__
18#define __TEXT_IMPORT_REGEX_H__
19
20#include <glib.h>
21
22#include "text_import.h"
23
24#ifdef __cplusplus
25extern "C" {
26#endif /* __cplusplus */
27
35void parse_data(unsigned char* start_field, unsigned char* end_field, enum data_encoding encoding);
36
44void parse_dir(const unsigned char* start_field, const unsigned char* end_field, const char* in_indicator, const char* out_indicator);
45
53void parse_time(const unsigned char* start_field, const unsigned char* end_field, const char* format);
54
61void parse_seqno(const unsigned char* start_field, const unsigned char* end_field);
62
66void flush_packet(void);
67
75
76#ifdef __cplusplus
77}
78#endif /* __cplusplus */
79
80#endif /* __TEXT_IMPORT_REGEX_H__ */
Definition file-pcapng.h:57
Definition text_import.h:65
void flush_packet(void)
Flushes the current packet and prepares for the next one.
Definition text_import.c:1216
int text_import_regex(const text_import_info_t *info)
Imports text data using regular expressions.
Definition text_import_regex.c:28
void parse_data(unsigned char *start_field, unsigned char *end_field, enum data_encoding encoding)
Parses data based on the specified encoding.
Definition text_import.c:1026
void parse_seqno(const unsigned char *start_field, const unsigned char *end_field)
Parses sequence number from a given field.
Definition text_import.c:1205
void parse_dir(const unsigned char *start_field, const unsigned char *end_field, const char *in_indicator, const char *out_indicator)
Parses directory information from a given field.
Definition text_import.c:1088
void parse_time(const unsigned char *start_field, const unsigned char *end_field, const char *format)
Parses time information from a given field and updates the timestamp.
Definition text_import.c:1199