3 * Copyright (C) 2016 Jakub Zawadzki
5 * Wireshark - Network traffic analyzer
6 * By Gerald Combs <gerald@wireshark.org>
7 * Copyright 1998 Gerald Combs
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License
11 * as published by the Free Software Foundation; either version 2
12 * of the License, or (at your option) any later version.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
30 cf_status_t sharkd_cf_open(const char *fname, unsigned int type, gboolean is_tempfile, int *err);
31 int sharkd_load_cap_file(void);
32 int sharkd_retap(void);
33 int sharkd_filter(const char *dftext, guint8 **result);
34 int sharkd_dissect_columns(int framenum, column_info *cinfo, gboolean dissect_color);
35 int sharkd_dissect_request(unsigned int framenum, void (*cb)(packet_info *, proto_tree *, struct epan_column_info *, const GSList *, void *), int dissect_bytes, int dissect_columns, int dissect_tree, void *data);
36 const char *sharkd_version(void);
38 extern capture_file cfile;
41 int sharkd_init(int argc, char **argv);
42 int sharkd_loop(void);
44 /* sharkd_session.c */
45 int sharkd_session_main(void);
47 #endif /* __SHARKD_H */
50 * Editor modelines - http://www.wireshark.org/tools/modelines.html
58 * vi: set shiftwidth=8 tabstop=8 noexpandtab:
59 * :indentSize=8:tabSize=8:noTabs=false: