From 80afed9bf9e46cf599e1f71e448ddf7e2db3b40c Mon Sep 17 00:00:00 2001 From: Derrick Brashear Date: Mon, 24 Sep 2001 13:17:16 +0000 Subject: [PATCH] export-vlops-in-vldbint-xg-file-20010924 based on report from lha@stacken.kth.se include vlops in the "published" interface ==================== This delta was composed from multiple commits as part of the CVS->Git migration. The checkin message with each commit was inconsistent. The following are the additional commit messages. ==================== based on report from lha@stacken.kth.se remove from vlserver.p.h --- src/vlserver/vldbint.xg | 8 ++++++++ src/vlserver/vlserver.p.h | 8 -------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/vlserver/vldbint.xg b/src/vlserver/vldbint.xg index 589e845..faa568c 100644 --- a/src/vlserver/vldbint.xg +++ b/src/vlserver/vldbint.xg @@ -175,6 +175,14 @@ struct vldstats { afs_int32 reserved[5]; /* for future usage */ }; +/* Volser information/status */ +const VLOP_MOVE = 0x10; +const VLOP_RELEASE = 0x20; +const VLOP_BACKUP = 0x40; +const VLOP_DELETE = 0x80; +const VLOP_DUMP = 0x100; + +%#define VLOP_ALLOPERS ( VLOP_MOVE | VLOP_RELEASE | VLOP_BACKUP | VLOP_DELETE | VLOP_DUMP) /* defines for convenience of vl users */ %#define VLF_RWEXISTS 0x1000 /* flags for whole vldb entry */ diff --git a/src/vlserver/vlserver.p.h b/src/vlserver/vlserver.p.h index ccd81d6..0a8beb5 100644 --- a/src/vlserver/vlserver.p.h +++ b/src/vlserver/vlserver.p.h @@ -49,14 +49,6 @@ struct vlheader { #define VLLOCKED 4 /* Advisory lock on entry */ #define VLCONTBLOCK 8 /* Special continuation block entry */ -/* Vlentry's flags also used to stamp type of ongoing operation */ -#define VLOP_MOVE 0x10 -#define VLOP_RELEASE 0x20 -#define VLOP_BACKUP 0x40 -#define VLOP_DELETE 0x80 -#define VLOP_DUMP 0x100 -#define VLOP_ALLOPERS (VLOP_MOVE | VLOP_RELEASE | VLOP_BACKUP | VLOP_DELETE | VLOP_DUMP) - /* Valid RelaseLock types */ #define LOCKREL_TIMESTAMP 1 #define LOCKREL_OPCODE 2 -- 1.9.4