| Wireshark 4.7.3 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
/builds/wireshark/wireshark/text2pcap.h
Go to the documentation of this file.
1
13
14
15#ifndef TEXT2PCAP_H
16#define TEXT2PCAP_H
17
21 typedef enum {
22 T_BYTE = 1,
23 T_OFFSET,
24 T_DIRECTIVE,
25 T_TEXT,
26 T_EOL
27} token_t;
28
38 int parse_token(token_t token, char *str);
39
48 int text2pcap_scan(void);
49
50#endif
51
52/*
53 * Editor modelines - https://www.wireshark.org/tools/modelines.html
54 *
55 * Local variables:
56 * c-basic-offset: 4
57 * tab-width: 8
58 * indent-tabs-mode: nil
59 * End:
60 *
61 * vi: set shiftwidth=4 tabstop=8 expandtab:
62 * :indentSize=4:tabSize=8:noTabs=true:
63 */
token_t
General-purpose four-field integer token produced by the BusMaster log lexer.
Definition busmaster_priv.h:102
T_DIRECTIVE
@ T_DIRECTIVE
Definition text2pcap.h:24
T_EOL
@ T_EOL
Definition text2pcap.h:26
T_BYTE
@ T_BYTE
Definition text2pcap.h:22
T_TEXT
@ T_TEXT
Definition text2pcap.h:25
text2pcap_scan
int text2pcap_scan(void)
Scans for text2pcap utility functionality.
parse_token
int parse_token(token_t token, char *str)
Parses a token from a string.
Definition text_import.c:1466