Wireshark  2.9.0-477-g68ec514b
The Wireshark network protocol analyzer
text_import_scanner.h
1 
16 #ifndef __TEXT_IMPORT_SCANNER_H__
17 #define __TEXT_IMPORT_SCANNER_H__
18 
19 #ifdef __cplusplus
20 extern "C" {
21 #endif /* __cplusplus */
22 
23 typedef enum {
24  T_BYTE = 1,
25  T_OFFSET,
26  T_DIRECTIVE,
27  T_TEXT,
28  T_EOL
29 } token_t;
30 
31 
32 void parse_token(token_t token, char *str);
33 void write_current_packet(void);
34 
35 extern FILE *text_importin;
36 
37 int text_import_scan(FILE *input_file);
38 
39 #ifdef __cplusplus
40 }
41 #endif /* __cplusplus */
42 
43 #endif /* __TEXT_IMPORT_SCANNER_H__ */
44 
45 /*
46  * Editor modelines
47  *
48  * Local Variables:
49  * c-basic-offset: 4
50  * tab-width: 8
51  * indent-tabs-mode: nil
52  * End:
53  *
54  * ex: set shiftwidth=4 tabstop=8 expandtab:
55  * :indentSize=4:tabSize=8:noTabs=true:
56  */