Wireshark 2.9.0-477-g68ec514b The Wireshark network protocol analyzer

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

/home/wireshark/builders/wireshark-master/ubuntu-16.04-x64/build/sharkd.h
1 /* sharkd.h
2 *
3 * Copyright (C) 2016 Jakub Zawadzki
4 *
5 * Wireshark - Network traffic analyzer
6 * By Gerald Combs <gerald@wireshark.org>
7 * Copyright 1998 Gerald Combs
8 *
9 * SPDX-License-Identifier: GPL-2.0-or-later
10 */
11
12 #ifndef __SHARKD_H
13 #define __SHARKD_H
14
15 #include <file.h>
16
17 typedef void (*sharkd_dissect_func_t)(epan_dissect_t *edt, proto_tree *tree, struct epan_column_info *cinfo, const GSList *data_src, void *data);
18
19 /* sharkd.c */
20 cf_status_t sharkd_cf_open(const char *fname, unsigned int type, gboolean is_tempfile, int *err);
21 int sharkd_load_cap_file(void);
22 int sharkd_retap(void);
23 int sharkd_filter(const char *dftext, guint8 **result);
24 frame_data *sharkd_get_frame(guint32 framenum);
25 int sharkd_dissect_columns(frame_data *fdata, guint32 frame_ref_num, guint32 prev_dis_num, column_info *cinfo, gboolean dissect_color);
26 int sharkd_dissect_request(guint32 framenum, guint32 frame_ref_num, guint32 prev_dis_num, sharkd_dissect_func_t cb, int dissect_bytes, int dissect_columns, int dissect_tree, void *data);
27 const char *sharkd_get_user_comment(const frame_data *fd);
28 int sharkd_set_user_comment(frame_data *fd, const gchar *new_comment);
29 const char *sharkd_version(void);
30
31 /* sharkd_daemon.c */
32 int sharkd_init(int argc, char **argv);
33 int sharkd_loop(void);
34
35 /* sharkd_session.c */
36 int sharkd_session_main(void);
37
38 #endif /* __SHARKD_H */
39
40 /*
41 * Editor modelines - http://www.wireshark.org/tools/modelines.html
42 *
43 * Local variables:
44 * c-basic-offset: 8
45 * tab-width: 8
46 * indent-tabs-mode: t
47 * End:
48 *
49 * vi: set shiftwidth=8 tabstop=8 noexpandtab:
50 * :indentSize=8:tabSize=8:noTabs=false:
51 */
epan_column_info
Definition: column-info.h:51
_frame_data
Definition: frame_data.h:53
epan_dissect
Definition: epan_dissect.h:28
_proto_node
Definition: proto.h:759