]>
Commit | Line | Data |
---|---|---|
7c16470c | 1 | /* UNIX RFCNB (RFC1001/RFC1002) NetBIOS implementation |
6ca34f6f HN |
2 | * |
3 | * Version 1.0 | |
4 | * RFCNB Common Structures etc Defines | |
5 | * | |
6 | * Copyright (C) Richard Sharpe 1996 | |
7 | * | |
8 | */ | |
7c16470c AJ |
9 | |
10 | /* | |
6ca34f6f HN |
11 | * This program is free software; you can redistribute it and/or modify |
12 | * it under the terms of the GNU General Public License as published by | |
13 | * the Free Software Foundation; either version 2 of the License, or | |
14 | * (at your option) any later version. | |
15 | * | |
16 | * This program is distributed in the hope that it will be useful, | |
17 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
18 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
19 | * GNU General Public License for more details. | |
20 | * | |
21 | * You should have received a copy of the GNU General Public License | |
22 | * along with this program; if not, write to the Free Software | |
23 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |
24 | */ | |
7c16470c AJ |
25 | |
26 | #ifndef _RFCNB_RFCNB_COMMON_H | |
27 | #define _RFCNB_RFCNB_COMMON_H | |
28 | ||
9864722f | 29 | #if defined(__cplusplus) |
7c16470c AJ |
30 | extern "C" { |
31 | #endif | |
32 | ||
3c96dd46 | 33 | /* A data structure we need */ |
7c16470c | 34 | |
3c96dd46 | 35 | typedef struct RFCNB_Pkt { |
7c16470c | 36 | |
6ca34f6f | 37 | char *data; /* The data in this portion */ |
3c96dd46 A |
38 | int len; |
39 | struct RFCNB_Pkt *next; | |
7c16470c | 40 | |
3c96dd46 | 41 | } RFCNB_Pkt; |
7c16470c | 42 | |
9864722f | 43 | #if defined(__cplusplus) |
7c16470c AJ |
44 | } |
45 | #endif | |
9864722f | 46 | #endif /* _RFCNB_RFCNB_COMMON_H */ |