HACK: pinfo->private_data points to smb_info again
[wireshark-wip.git] / epan / epan-int.h
blob7890cd51b45a42f43a6c5a22b68c06ae7a483f06
1 /* epan-int.h
3 * $Id$
5 * Wireshark Protocol Analyzer Library
7 * Copyright (c) 2001 by Gerald Combs <gerald@wireshark.org>
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.
24 #ifndef __EPAN_INT_H__
25 #define __EPAN_INT_H__
27 #include <epan/frame_data.h>
28 #include <wsutil/nstime.h>
30 struct epan_session {
31 void *data;
33 const nstime_t *(*get_frame_ts)(void *data, guint32 frame_num);
34 const char *(*get_interface_name)(void *data, guint32 interface_id);
35 const char *(*get_user_comment)(void *data, const frame_data *fd);
38 #endif