Witness: add pidl output
[wireshark-wip.git] / epan / tap-voip.h
blobfe6d0e3c2af68f524e50986279aa1f2cc1f43d4a
1 /* tap-voip.h
2 * VoIP packet tap interface 2007 Tomas Kukosa
4 * $Id$
6 * Wireshark - Network traffic analyzer
7 * By Gerald Combs <gerald@wireshark.org>
8 * Copyright 1998 Gerald Combs
9 *
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.
25 #ifndef _TAP_VOIP_H_
26 #define _TAP_VOIP_H_
28 /* defines voip call state */
29 typedef enum _voip_call_state {
30 VOIP_NO_STATE,
31 VOIP_CALL_SETUP,
32 VOIP_RINGING,
33 VOIP_IN_CALL,
34 VOIP_CANCELLED,
35 VOIP_COMPLETED,
36 VOIP_REJECTED,
37 VOIP_UNKNOWN
38 } voip_call_state;
40 typedef enum _voip_call_active_state {
41 VOIP_ACTIVE,
42 VOIP_INACTIVE
43 } voip_call_active_state;
45 /* structure for common/proprietary VoIP calls TAP */
46 typedef struct _voip_packet_info_t
48 gchar *protocol_name;
49 gchar *call_id;
50 voip_call_state call_state;
51 voip_call_active_state call_active_state;
52 gchar *from_identity;
53 gchar *to_identity;
54 gchar *call_comment;
55 gchar *frame_label;
56 gchar *frame_comment;
57 } voip_packet_info_t;
59 #endif /* _TAP_VOIP_H_ */