Wireshark
4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
ui
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
21
extern
"C"
{
22
#endif
/* __cplusplus */
23
24
typedef
enum
{
25
T_BYTE = 1,
26
T_BYTES,
27
T_OFFSET,
28
T_DIRECTIVE,
29
T_TEXT,
30
T_EOL,
31
T_EOF
32
}
token_t
;
33
34
typedef
enum
{
35
IMPORT_SUCCESS,
36
IMPORT_FAILURE,
37
IMPORT_INIT_FAILED
38
} import_status_t;
39
40
import_status_t
parse_token
(
token_t
token,
char
*str);
41
42
extern
FILE *text_importin;
43
50
import_status_t
text_import_scan
(FILE *input_file);
51
52
#ifdef __cplusplus
53
}
54
#endif
/* __cplusplus */
55
56
#endif
/* __TEXT_IMPORT_SCANNER_H__ */
token_t
Definition
busmaster_priv.h:75
text_import_scan
import_status_t text_import_scan(FILE *input_file)
Scans an input file for text import data.
parse_token
import_status_t parse_token(token_t token, char *str)
Parses a token from a string.
Definition
text_import.c:1426
Generated by
1.9.8