Fix for bug 5422:
[obnox/wireshark/wip.git] / epan / dissectors / packet-dcerpc-budb.h
1 /* DO NOT EDIT
2  * This dissector is autogenerated
3  *   ronnie sahlberg 2005
4  */
5 /* packet-dcerpc-budb.h
6  * Routines for BUDB packet disassembly
7  *
8  * $Id$
9  *
10  * Wireshark - Network traffic analyzer
11  * By Gerald Combs <gerald@wireshark.org>
12  * Copyright 1998 Gerald Combs
13  *
14  * This program is free software; you can redistribute it and/or
15  * modify it under the terms of the GNU General Public License
16  * as published by the Free Software Foundation; either version 2
17  * of the License, or (at your option) any later version.
18  *
19  * This program is distributed in the hope that it will be useful,
20  * but WITHOUT ANY WARRANTY; without even the implied warranty of
21  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22  * GNU General Public License for more details.
23  *
24  * You should have received a copy of the GNU General Public License
25  * along with this program; if not, write to the Free Software
26  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
27  */
28
29 #ifndef __PACKET_DCERPC_BUDB_H
30 #define __PACKET_DCERPC_BUDB_H
31
32
33
34 /* INCLUDED FILE : ETH_HDR */
35 #define BU_MAXNAMELEN           128
36 #define BU_MAXTAPELEN           256
37 #define BU_MAXHOSTLEN           128
38 #define BU_MAXTOKENLEN          16
39 #define BU_MAXUNAMELEN          256
40 #define BU_MAXCELLLEN           256
41 #define BU_MAXINAMELEN          128
42 #define BU_MAXPATHLEN           256
43 #define BU_MAXGENNAMELEN                512
44 #define BU_MAXVOLCOUNT          64
45 #define BUDB_MAJORVERSION               1
46 #define BUDB_PROVIDER_VERSION           2
47 #define TB_DUMPSCHEDULE         0
48 #define TB_VOLUMESET            1
49 #define TB_TAPEHOSTS            2
50 #define TB_NUM          3
51 #define TB_MAX          6
52 #define BUDB_DUMP_INCOMPLETE            1<<0
53 #define BUDB_DUMP_TAPEERROR             1<<1
54 #define BUDB_DUMP_INPROGRESS            1<<2
55 #define BUDB_DUMP_ABORTED               1<<3
56 #define BUDB_TAPE_TAPEERROR             1<<0
57 #define BUDB_TAPE_DELETED               1<<1
58 #define BUDB_TAPE_BEINGWRITTEN          1<<2
59 #define BUDB_TAPE_ABORTED               1<<3
60 #define BUDB_TAPE_STAGED                1<<4
61 #define BUDB_TAPE_WRITTEN               1<<5
62 #define BUDB_VOL_TAPEERROR              1<<0
63 #define BUDB_VOL_FILEERROR              1<<1
64 #define BUDB_VOL_BEINGWRITTEN           1<<2
65 #define BUDB_VOL_FIRSTFRAG              1<<3
66 #define BUDB_VOL_LASTFRAG               1<<4
67 #define BUDB_VOL_ABORTED                1<<5
68 #define BUDB_OP_NAMES           0x7
69 #define BUDB_OP_STARTS          0x7<<3
70 #define BUDB_OP_ENDS            0x7<<6
71 #define BUDB_OP_TIMES           0x3<<9
72 #define BUDB_OP_MISC            0xff<<16
73 #define BUDB_OP_DUMPNAME                1<<0
74 #define BUDB_OP_VOLUMENAME              2<<0
75 #define BUDB_OP_TAPENAME                3<<0
76 #define BUDB_OP_STARTTIME               1<<3
77 #define BUDB_OP_RANGE           1<<6
78 #define BUDB_OP_NPREVIOUS               2<<6
79 #define BUDB_OP_NFOLLOWING              3<<6
80 #define BUDB_OP_DUMPID          2<<3
81 #define BUDB_OP_CLONETIME               1<<9
82 #define BUDB_OP_DUMPTIME                2<<9
83 #define BUDB_OP_INCTIME         3<<9
84 #define BUDB_OP_FIRSTFRAG               1<<16
85 #define BUDB_MAX_RETURN_LIST            1000
86 #define BUDB_MAX_CHAR_LIST              1024
87 #define BUDB_MAX_VOL_COUNT              64
88 #define BUDB_TEXT_COMPLETE              1
89 #define SD_DBHEADER             1
90 #define SD_DUMP         2
91 #define SD_TAPE         3
92 #define SD_VOLUME               4
93 #define SD_TEXT_DUMPSCHEDULE            5
94 #define SD_TEXT_VOLUMESET               6
95 #define SD_TEXT_TAPEHOSTS               7
96 #define SD_END          8
97 int budb_dissect_principal(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param);
98 int budb_dissect_tapeSet(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param);
99 int budb_dissect_dumpEntry(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param);
100 int budb_dissect_tapeEntry(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param);
101 int budb_dissect_volumeEntry(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param);
102 int budb_dissect_volumeList(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param);
103 int budb_dissect_dumpList(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param);
104 int budb_dissect_tapeList(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param);
105 int budb_dissect_charListT(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param);
106 int budb_dissect_DbHeader(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param);
107 int budb_dissect_dbVolume(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param);
108 int budb_dissect_structDumpHeader(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param);
109 int budb_dissect_dfs_interfaceDescription(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param);
110 int budb_dissect_dfs_interfaceList(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param);
111 /* END OF INCLUDED FILE : ETH_HDR */
112
113
114
115 #endif /* packet-dcerpc-budb.h */