| Wireshark 4.7.0 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
/builds/wireshark/wireshark/text2pcap.h
Go to the documentation of this file.
1
15#ifndef TEXT2PCAP_H
16#define TEXT2PCAP_H
17
18 typedef enum {
19 T_BYTE = 1,
20 T_OFFSET,
21 T_DIRECTIVE,
22 T_TEXT,
23 T_EOL
24} token_t;
25
35 int parse_token(token_t token, char *str);
36
37 int text2pcap_scan(void);
38
39#endif
40
41/*
42 * Editor modelines - https://www.wireshark.org/tools/modelines.html
43 *
44 * Local variables:
45 * c-basic-offset: 4
46 * tab-width: 8
47 * indent-tabs-mode: nil
48 * End:
49 *
50 * vi: set shiftwidth=4 tabstop=8 expandtab:
51 * :indentSize=4:tabSize=8:noTabs=true:
52 */
token_t
Definition busmaster_priv.h:75
parse_token
int parse_token(token_t token, char *str)
Parses a token from a string.
Definition text_import.c:1426