Wireshark 4.7.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
36
45
46import_status_t parse_token(token_t token, char *str);
47
48extern FILE *text_importin;
49
57
58#ifdef __cplusplus
59}
60#endif /* __cplusplus */
61
62#endif /* __TEXT_IMPORT_SCANNER_H__ */
General-purpose four-field integer token produced by the BusMaster log lexer.
Definition busmaster_priv.h:102
import_status_t text_import_scan(FILE *input_file)
Scans an input file for text import data.
token_t
Lexer token types produced by the hex dump text import scanner.
Definition text_import_scanner.h:27
@ T_OFFSET
Definition text_import_scanner.h:30
@ T_DIRECTIVE
Definition text_import_scanner.h:31
@ T_EOL
Definition text_import_scanner.h:33
@ T_BYTE
Definition text_import_scanner.h:28
@ T_EOF
Definition text_import_scanner.h:34
@ T_TEXT
Definition text_import_scanner.h:32
@ T_BYTES
Definition text_import_scanner.h:29
import_status_t parse_token(token_t token, char *str)
Parses a token from a string.
Definition text_import.c:1426
import_status_t
Return status of a text import operation.
Definition text_import_scanner.h:40
@ IMPORT_FAILURE
Definition text_import_scanner.h:42
@ IMPORT_INIT_FAILED
Definition text_import_scanner.h:43
@ IMPORT_SUCCESS
Definition text_import_scanner.h:41