/*
 * 5799-WZQ (C) COPYRIGHT IBM CORPORATION 1988
 * LICENSED MATERIALS - PROPERTY OF IBM
 * REFER TO COPYRIGHT INSTRUCTIONS FORM NUMBER G120-2083
 */
/* $Header:rvaux.h 12.0$ */
/* $ACIS:rvaux.h 12.0$ */
/* $Source: /ibm/acis/usr/sys/afsint/RCS/rvaux.h,v $ */

#if !defined(lint) && !defined(LOCORE) && defined(RCS_HDRS)
static char *rcsidrvaux = "$Header:rvaux.h 12.0$";
#endif


#define VICELOWEST_OPCODE               100  /* Update this, as necessary */

#define	VICECONNECTFS				100
#define	VICEFETCH					101
#define	VICESTORE					102
#define	VICEREMOVE				103
#define	VICECREATE					104
#define	VICERENAME				105
#define	VICESYMLINK				106
#define	VICELINK					107
#define	VICEMAKEDIR				108
#define	VICEREMOVEDIR				109
#define	VICEREMOVECALLBACK		110
#define	VICESETLOCK				111
#define	VICERELEASELOCK			112
#define	VICEGETROOTVOLUME		113
#define	VICENEWCONNECTION		114
#define	VICEGETVOLUMESTATUS		115
#define	VICESETVOLUMESTATUS		116
#define	VICEDISCONNECTFS			117
#define	VICEGETTIME				118
#define	VICEGETMESSAGE			119
#define	VICEGETSTATISTICS			120
#define	VICECHECKTOKEN			121
#define	VICEGETVOLUMEINFO		122
#define	VICEENABLEGROUP			123
#define	VICEDISABLEGROUP			124
#define	VICESETROOTVOLUME		125
#define	VICEFETCHP					126
#define	VICESTOREP					127
#define	VICEREMOVECALLBACKBULK	128
#define 	VICEEXTENDLOCK			129

/* Ops for New vice interface */
#define	AFS_FETCHDATA			130
#define	AFS_FETCHACL			131
#define	AFS_FETCHSTATUS			132
#define	AFS_STOREDATA			133
#define	AFS_STOREACL			134
#define	AFS_STORESTATUS			135
#define	AFS_REMOVEFILE			136
#define	AFS_CREATEFILE			137
#define	AFS_RENAME			138
#define	AFS_SYMLINK			139
#define	AFS_LINK			140
#define	AFS_MAKEDIR			141
#define	AFS_REMOVEDIR			142
#define	AFS_SETLOCK			143
#define	AFS_EXTENDLOCK			144
#define	AFS_RELEASELOCK			145
#define	AFS_GETSTATISTICS		146
#define	AFS_GIVEUPCALLBACKS		147
#define	AFS_GETVOLUMEINFO		148
#define	AFS_GETVOLUMESTATUS		149
#define	AFS_SETVOLUMESTATUS		150
#define	AFS_GETROOTVOLUME		151
#define	AFS_CHECKTOKEN			152
#define	AFS_GETTIME			153

#define VICEHIGHEST_OPCODE              153  /* Update this, as necessary */

#define VICECONNBAD	1234
#define VICETOKENDEAD	1235

/* These are some rxgen-based (really arbitrary) error codes... */
#define	RXGEN_CC_MARSHAL    -450
#define	RXGEN_CC_UNMARSHAL  -451
#define	RXGEN_SS_MARSHAL    -452
#define	RXGEN_SS_UNMARSHAL  -453

/* rxgen should create these... */

typedef unsigned long VolumeId;
typedef unsigned long VolId;
typedef unsigned long VnodeId;
typedef unsigned long Unique;
typedef unsigned long UserId;
typedef unsigned long FileVersion;
typedef unsigned long Date;
typedef long ErrorCode;
typedef long Rights;

