FIXUP: WIP: verification_trailer
[wireshark-wip.git] / epan / wspython / wspy_register.h
blob4370aa401fefc6ceca40a50f649c8f0dc965ede2
1 /* wspy_register.h
3 * $Id$
5 * Wireshark Protocol Python Binding
7 * Copyright (c) 2009 by Sebastien Tandel <sebastien [AT] tandel [dot] be>
8 * Copyright (c) 2001 by Gerald Combs <gerald@wireshark.org>
10 * This program is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU General Public License
12 * as published by the Free Software Foundation; either version 2
13 * of the License, or (at your option) any later version.
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
20 * You should have received a copy of the GNU General Public License
21 * along with this program; if not, write to the Free Software
22 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
24 #ifndef __WS_PY_REGISTER_H__
25 #define __WS_PY_REGISTER_H__
27 #ifdef __cplusplus
28 extern "C" {
29 #endif /* __cplusplus */
31 #ifdef HAVE_PYTHON
32 void register_all_py_protocols_func(void);
33 void register_all_py_handoffs_func(void);
35 WS_DLL_PUBLIC
36 dissector_handle_t py_create_dissector_handle(const int proto);
37 WS_DLL_PUBLIC
38 void py_dissector_args(tvbuff_t ** tvb, packet_info ** pinfo, proto_tree ** tree);
39 #endif
41 #ifdef __cplusplus
43 #endif
45 #endif /* __WS_PY_REGISTER_H__ */