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
21typedef enum {
22 T_BYTE = 1,
23 T_OFFSET,
27} token_t;
28
38int parse_token(token_t token, char *str);
39
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 */
General-purpose four-field integer token produced by the BusMaster log lexer.
Definition busmaster_priv.h:102
@ T_DIRECTIVE
Definition text2pcap.h:24
@ T_EOL
Definition text2pcap.h:26
@ T_BYTE
Definition text2pcap.h:22
@ T_TEXT
Definition text2pcap.h:25
int text2pcap_scan(void)
Scans for text2pcap utility functionality.
int parse_token(token_t token, char *str)
Parses a token from a string.
Definition text_import.c:1466