|
Wireshark 4.7.0
The Wireshark network protocol analyzer
|
Go to the source code of this file.
Enumerations | |
| enum | token_t { T_BYTE = 1 , T_BYTES , T_OFFSET , T_DIRECTIVE , T_TEXT , T_EOL , T_EOF } |
| enum | import_status_t { IMPORT_SUCCESS , IMPORT_FAILURE , IMPORT_INIT_FAILED } |
Functions | |
| import_status_t | parse_token (token_t token, char *str) |
| Parses a token from a string. | |
| import_status_t | text_import_scan (FILE *input_file) |
| Scans an input file for text import data. | |
Variables | |
| FILE * | text_importin |
text_import_scanner.h Scanner for text import November 2010, Jaap Keuter jaap..nosp@m.keut.nosp@m.er@xs.nosp@m.4all.nosp@m..nl
Wireshark - Network traffic analyzer By Gerald Combs geral.nosp@m.d@wi.nosp@m.resha.nosp@m.rk.o.nosp@m.rg Copyright 1998 Gerald Combs
Based on text2pcap.h by Ashok Narayanan ashok.nosp@m.n@ci.nosp@m.sco.c.nosp@m.om
SPDX-License-Identifier: GPL-2.0-or-later*
| import_status_t parse_token | ( | token_t | token, |
| char * | str | ||
| ) |
Parses a token from a string.
This function takes a token type and a string as input and processes the token accordingly.
| token | The type of token to parse. |
| str | The string containing the token data. |
| import_status_t text_import_scan | ( | FILE * | input_file | ) |
Scans an input file for text import data.
| input_file | The file to be scanned |