| 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
20 void wtap_init_file_type_subtypes(const char* app_env_var_prefix);
21
28 void wtap_init_file_type_extensions(const struct file_extension_info* file_extensions, unsigned num_extensions);
29
36 struct backwards_compatibiliity_lua_name {
37 const char *name;
38 int ft;
39};
40
48WS_DLL_PUBLIC
49 const GArray *get_backwards_compatibility_lua_table(void);
50
64GArray* wtap_file_get_shb_for_new_file(wtap *wth);
65
78 wtap_block_t wtap_dump_params_generate_idb(const wtap_dump_params *params);
79
90GArray* wtap_file_get_nrb_for_new_file(wtap *wth);
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 */
backwards_compatibiliity_lua_name
Mapping between a Lua name and a file type.
Definition wtap-int.h:36
backwards_compatibiliity_lua_name::ft
int ft
Definition wtap-int.h:38
backwards_compatibiliity_lua_name::name
const char * name
Definition wtap-int.h:37
file_extension_info
For registering extensions used for file formats.
Definition wtap.h:1719
wtap_block
Definition wtap_opttypes.h:272
wtap_dump_params
Definition wtap.h:1630
wtap
Definition wtap_module.h:58
wtap_init_file_type_extensions
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
wtap_init_file_type_subtypes
void wtap_init_file_type_subtypes(const char *app_env_var_prefix)
Initialize file type subtypes for wiretap.
Definition file_access.c:1119
wtap_file_get_shb_for_new_file
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
get_backwards_compatibility_lua_table
WS_DLL_PUBLIC const GArray * get_backwards_compatibility_lua_table(void)
Retrieve the table of backwards compatibility Lua names.
Definition file_access.c:2937
wtap_dump_params_generate_idb
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
wtap_file_get_nrb_for_new_file
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
wtap.h