diff --git a/doc/man-pages/pod1/rxgen.pod b/doc/man-pages/pod1/rxgen.pod index dc05a71610..f14e26ce01 100644 --- a/doc/man-pages/pod1/rxgen.pod +++ b/doc/man-pages/pod1/rxgen.pod @@ -726,8 +726,6 @@ some of the common cases. unsigned long Unique; }; - typedef long ViceDataType; - /* Note that TEST would be equivalent to "HEADER" only during the processing of the header, *.h, file */ diff --git a/src/bozo/bosint.xg b/src/bozo/bosint.xg index cdd77457ea..4b836b6f78 100644 --- a/src/bozo/bosint.xg +++ b/src/bozo/bosint.xg @@ -7,8 +7,6 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -typedef int bstring; /*force xdr output */ - const BOZO_BSSIZE = 256; %#undef min struct bozo_netKTime { diff --git a/src/bubasics/butc.xg b/src/bubasics/butc.xg index d5ae15badb..779d9dc6c9 100644 --- a/src/bubasics/butc.xg +++ b/src/bubasics/butc.xg @@ -95,12 +95,6 @@ struct tc_tapeLabel { afs_uint32 tapeId; /* The tapeId (or dumpId of the initial dump) */ }; -/* structure to describe tapes */ -struct tc_TMInfo { - afs_int32 capacity; /* in 1024 byte units */ - afs_int32 flags; /* flags, unused at present */ -}; - struct tc_tapeSet { /* describes a tape sequence */ afs_int32 id; /* unique id of tapeSet, assigned by budb */ char tapeServer[TC_MAXHOSTLEN]; /* name of server where this tape is */ diff --git a/src/fsint/afsint.xg b/src/fsint/afsint.xg index 704f61bc34..e31187e786 100644 --- a/src/fsint/afsint.xg +++ b/src/fsint/afsint.xg @@ -18,8 +18,6 @@ %#define VICETOKENDEAD 1235 %#define AFS_LOCKWAIT (5*60) -typedef afs_int32 ViceDataType; - %#define Invalid 0 %#define File 1 %#define Directory 2 @@ -78,8 +76,6 @@ struct AFSStoreStatus { %#define AFS_SETSEGSIZE 16 %#define AFS_FSYNC 1024 -typedef afs_int32 ViceVolumeType; - %#define ReadOnly 0 %#define ReadWrite 1 @@ -241,11 +237,6 @@ typedef AFSFetchStatus AFSBulkStats; %#define LockExtend 2 %#define LockRelease 3 -typedef afs_int32 ViceOfflineType; - -%#define NoSalvage 0 -%#define Salvage 1 - %#define MAXCMDINT64S 3 %#define MAXCMDINT32S 200 %#define MAXCMDCHARS 256 @@ -259,92 +250,6 @@ typedef afs_int32 ViceOfflineType; %#define CMD_CHECKHSMMETADATA 8 %#define CMD_FETCHSTATUS 9 -%#define VOLATTR_DESIREDRESIDENCYMASK 1 -%#define VOLATTR_UNDESIREDRESIDENCYMASK 2 -%#define VOLATTR_SETSPECIALACCESSFLAG 4 -struct ExtendedVolAttrInputs { - afs_uint32 Mask; - afs_uint32 Volume; - afs_uint32 DesiredResidencyMask; - afs_uint32 Spare1[10]; - afs_uint32 UnDesiredResidencyMask; - afs_uint32 Spare2[9]; - afs_uint32 SpecialAccessFlag; -}; - -struct ExtendedVolAttrOutputs { - afs_uint32 DesiredResidencyMask; - afs_uint32 Spare1[10]; - afs_uint32 UnDesiredResidencyMask; - afs_uint32 Spare2[9]; - afs_uint32 SpecialAccessFlag; -}; - -struct TagsArray { - afs_uint32 TagsArray_len; - afs_uint32 TagsArray_val[184]; -}; - -struct AccessHistory { - afs_uint64 Size; - afs_uint32 ModTime; - afs_uint32 NonSpoolingFetches; - afs_uint32 UserSpoolingFetches; - afs_uint32 MigratorSpoolingFetches; - afs_uint32 LastUserMigrationEvent; - afs_uint32 MigrateMe; - afs_uint32 Time0; - afs_uint32 Type0; - afs_uint32 LocalAccess0; - afs_uint32 Residency0; - afs_uint32 Time1; - afs_uint32 Type1; - afs_uint32 LocalAccess1; - afs_uint32 Residency1; - afs_uint32 Time2; - afs_uint32 Type2; - afs_uint32 LocalAccess2; - afs_uint32 Residency2; - afs_uint32 Time3; - afs_uint32 Type3; - afs_uint32 LocalAccess3; - afs_uint32 Residency3; - afs_uint32 Time4; - afs_uint32 Type4; - afs_uint32 LocalAccess4; - afs_uint32 Residency4; -}; - -struct AccessHistoryOld { - afs_uint32 Size; - afs_uint32 ModTime; - afs_uint32 NonSpoolingFetches; - afs_uint32 UserSpoolingFetches; - afs_uint32 MigratorSpoolingFetches; - afs_uint32 LastUserMigrationEvent; - afs_uint32 MigrateMe; - afs_uint32 Time0; - afs_uint32 Type0; - afs_uint32 LocalAccess0; - afs_uint32 Residency0; - afs_uint32 Time1; - afs_uint32 Type1; - afs_uint32 LocalAccess1; - afs_uint32 Residency1; - afs_uint32 Time2; - afs_uint32 Type2; - afs_uint32 LocalAccess2; - afs_uint32 Residency2; - afs_uint32 Time3; - afs_uint32 Type3; - afs_uint32 LocalAccess3; - afs_uint32 Residency3; - afs_uint32 Time4; - afs_uint32 Type4; - afs_uint32 LocalAccess4; - afs_uint32 Residency4; -}; - struct FsCmdInputs { afs_int32 command; struct AFSFid fid; diff --git a/src/fsint/common.xg b/src/fsint/common.xg index 253efc5e01..7093cc9612 100644 --- a/src/fsint/common.xg +++ b/src/fsint/common.xg @@ -75,22 +75,6 @@ struct AFSDBLock { struct AFSDBLockDesc lock; }; -struct AFSDEntry { - afs_int32 addr; - afs_int32 cell; /*Cell part of the fid*/ - AFSFid netFid; /*Network part of the fid*/ - afs_int32 Length; - afs_int32 DataVersion; - struct AFSDBLockDesc lock; - afs_int32 callback; - afs_int32 cbExpires; - short refCount; - short opens; - short writers; - char mvstat; - char states; -}; - /* * Callback types. */ @@ -151,8 +135,6 @@ typedef afs_uint32 VnodeId; typedef afs_uint32 Unique; typedef afs_uint32 UserId; typedef afs_uint32 FileVersion; -typedef afs_int32 ErrorCode; -typedef afs_int32 Rights; const AFS_DISKNAMESIZE = 32; typedef opaque DiskName[AFS_DISKNAMESIZE]; diff --git a/src/ubik/ubik_int.xg b/src/ubik/ubik_int.xg index 78b2517d03..c6b657eb04 100644 --- a/src/ubik/ubik_int.xg +++ b/src/ubik/ubik_int.xg @@ -9,12 +9,6 @@ prefix S -struct BDesc { - afs_int32 host; - short portal; - afs_int32 session; -}; - struct ubik_version { afs_int32 epoch; afs_int32 counter; diff --git a/src/vlserver/vldbint.xg b/src/vlserver/vldbint.xg index 523fe801e7..47c05a46fd 100644 --- a/src/vlserver/vldbint.xg +++ b/src/vlserver/vldbint.xg @@ -67,9 +67,6 @@ const VLUPDATE_REPS_MODFLAG = 0x1000; /*typedef string volumename;*/ -const DEFAULTBULK = 10000; -typedef opaque bulk; - /* Structure used by the VLListAttributes routine */ struct VldbListByAttributes { afs_uint32 Mask; @@ -207,7 +204,6 @@ const VLOP_DUMP = 0x100; typedef vldbentry bulkentries<>; typedef nvldbentry nbulkentries<>; -typedef uvldbentry ubulkentries<>; /* * 500 is an arbitrary implementation limit, larger than what we support storing. * It lets the XDR decoder detect an attack (excessively large input) and reject