Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
text_import_scanner.h
Go to the documentation of this file.
1
17#ifndef __TEXT_IMPORT_SCANNER_H__
18#define __TEXT_IMPORT_SCANNER_H__
19
20#ifdef __cplusplus
21extern "C" {
22#endif /* __cplusplus */
23
24typedef enum {
25 T_BYTE = 1,
26 T_OFFSET,
27 T_DIRECTIVE,
28 T_TEXT,
29 T_EOL,
30 T_EOF
31} token_t;
32
33typedef enum {
34 IMPORT_SUCCESS,
35 IMPORT_FAILURE,
36 IMPORT_INIT_FAILED
37} import_status_t;
38
39import_status_t parse_token(token_t token, char *str);
40
41extern FILE *text_importin;
42
43import_status_t text_import_scan(FILE *input_file);
44
45#ifdef __cplusplus
46}
47#endif /* __cplusplus */
48
49#endif /* __TEXT_IMPORT_SCANNER_H__ */
Definition busmaster_priv.h:93