aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/dcerpc
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2005-02-04 05:26:51 +0000
committerRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2005-02-04 05:26:51 +0000
commitb1d285c3751d8975365980ecb30fe6aad479e289 (patch)
tree78fdc3c21bd40ee7ec9d96f84b39374c14911af1 /epan/dissectors/dcerpc
parent4fead805d582a25fe4b3d6e0a1da4ba3e3437d0b (diff)
use a bitmap for the restore flags so the dissection is prettier
svn path=/trunk/; revision=13282
Diffstat (limited to 'epan/dissectors/dcerpc')
-rw-r--r--epan/dissectors/dcerpc/butc/butc.idl13
1 files changed, 9 insertions, 4 deletions
diff --git a/epan/dissectors/dcerpc/butc/butc.idl b/epan/dissectors/dcerpc/butc/butc.idl
index 5ff117cdb2..47e6ddb2de 100644
--- a/epan/dissectors/dcerpc/butc/butc.idl
+++ b/epan/dissectors/dcerpc/butc/butc.idl
@@ -173,6 +173,14 @@ const long TCOP_RESTOREDB = 7;
const long TCOP_STATUS = 8;
const long TCOP_SPARE = 9;
+
+/* restore flags */
+typedef [bitmap32bit] bitmap {
+ TC_RESTORE_CREATE = 0x00000001, /* create new volume; fail if there */
+ TC_RESTORE_INCR = 0x00000002 /* incremental, must already exist */
+} butc_Restore_flags;
+
+
/*typedef [string] byte butcNameString_t[TC_MAXGENNAMELEN];*/
typedef struct {
@@ -201,7 +209,7 @@ typedef struct {
udlong origVid; /* original volume id */
udlong vid; /* 0 means allocate new volid */
int32 partition; /* where to restore the volume */
- int32 flags; /* flags */
+ butc_Restore_flags flags; /* flags */
afsNetAddr hostAddr; /* file server to restore volume to */
uint32 realDumpId; /* dump id associated with this tape */
uint32 spare2;
@@ -237,9 +245,6 @@ typedef struct {
butcNameString_t name;
} tc_tapeLabel;
-/* restore flags */
-const long TC_RESTORE_CREATE = 1; /* create new volume; fail if there */
-const long TC_RESTORE_INCR = 2; /* incremental, must already exist */
typedef struct { /* describes a tape sequence */
int32 id; /* unique id of tapeSet,