Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
wtap-int.h
Go to the documentation of this file.
1
9#ifndef __WTAP_INT_H__
10#define __WTAP_INT_H__
11
12#include "wtap.h"
13#include <time.h>
14
20void wtap_init_file_type_subtypes(const char* app_env_var_prefix);
21
28void wtap_init_file_type_extensions(const struct file_extension_info* file_extensions, unsigned num_extensions);
29
37 const char *name;
38 int ft;
39};
40
48WS_DLL_PUBLIC
50
65
79
91
92#endif /* __WTAP_INT_H__ */
93
94/*
95 * Editor modelines - https://www.wireshark.org/tools/modelines.html
96 *
97 * Local variables:
98 * c-basic-offset: 4
99 * tab-width: 8
100 * indent-tabs-mode: nil
101 * End:
102 *
103 * vi: set shiftwidth=4 tabstop=8 expandtab:
104 * :indentSize=4:tabSize=8:noTabs=true:
105 */
Mapping between a Lua name and a file type.
Definition wtap-int.h:36
int ft
Definition wtap-int.h:38
const char * name
Definition wtap-int.h:37
For registering extensions used for file formats.
Definition wtap.h:1718
Definition wtap_opttypes.h:272
Definition wtap.h:1629
Definition wtap_module.h:58
void wtap_init_file_type_extensions(const struct file_extension_info *file_extensions, unsigned num_extensions)
Initialize the extensions array.
Definition file_access.c:141
void wtap_init_file_type_subtypes(const char *app_env_var_prefix)
Initialize file type subtypes for wiretap.
Definition file_access.c:1119
GArray * wtap_file_get_shb_for_new_file(wtap *wth)
Gets new section header block for new file, based on existing info.
Definition wtap.c:166
WS_DLL_PUBLIC const GArray * get_backwards_compatibility_lua_table(void)
Retrieve the table of backwards compatibility Lua names.
Definition file_access.c:2917
wtap_block_t wtap_dump_params_generate_idb(const wtap_dump_params *params)
Generate an IDB, given a set of dump parameters, using the parameters' encapsulation type,...
Definition wtap.c:653
GArray * wtap_file_get_nrb_for_new_file(wtap *wth)
Gets new name resolution info for new file, based on existing info.
Definition wtap.c:554