HACK: pinfo->private_data points to smb_info again
[wireshark-wip.git] / epan / sna-utils.h
blobce01bda20bc69297dfe84c87fae92b7b1a69f82d
1 /* sna-utils.h
2 * Definitions for SNA dissection.
4 * $Id$
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version 2
9 * of the License, or (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
21 #ifndef __SNA_UTILS__
22 #define __SNA_UTILS__
24 #include <glib.h>
25 #include <stdio.h>
28 * Structure used to represent an FID Type 4 address; gives the layout of the
29 * data pointed to by an AT_SNA "address" structure if the size is
30 * SNA_FID_TYPE_4_ADDR_LEN.
32 #define SNA_FID_TYPE_4_ADDR_LEN 6
33 struct sna_fid_type_4_addr {
34 guint32 saf;
35 guint16 ef;
38 extern gchar *sna_fid_to_str(const address *addr);
39 extern void sna_fid_to_str_buf(const address *addr, gchar *buf, int buf_len);
41 #endif