⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 vcrcommon.rpc2

📁 Coda分布式文件系统源代码。其特色在于可以支持离线文件操作以及在线后的自动更新
💻 RPC2
字号:
%{ /* BLURB lgpl                           Coda File System                              Release 6          Copyright (c) 1987-2003 Carnegie Mellon University                  Additional copyrights listed belowThis  code  is  distributed "AS IS" without warranty of any kind underthe  terms of the  GNU  Library General Public Licence  Version 2,  asshown in the file LICENSE. The technical and financial contributors toCoda are listed in the file CREDITS.                        Additional copyrights#*//*                         IBM COPYRIGHT NOTICE                          Copyright (C) 1986             International Business Machines Corporation                         All Rights ReservedThis  file  contains  some  code identical to or derived from the 1986version of the Andrew File System ("AFS"), which is owned by  the  IBMCorporation.   This  code is provided "AS IS" and IBM does not warrantthat it is free of infringement of  any  intellectual  rights  of  anythird  party.    IBM  disclaims  liability of any kind for any damageswhatsoever resulting directly or indirectly from use of this  softwareor  of  any  derivative work.  Carnegie Mellon University has obtainedpermission to  modify,  distribute and sublicense this code,  which isbased on Version 2  of  AFS  and  does  not  contain  the features andenhancements that are part of  Version 3 of  AFS.  Version 3 of AFS iscommercially   available   and  supported  by   Transarc  Corporation,Pittsburgh, PA.*/%}/* * Include file common to both callback.rpc2, vice.rpc2 and res.rpc2 */typedef RPC2_Unsigned   VolumeId;typedef VolumeId	VolId;typedef RPC2_Unsigned	VnodeId;typedef RPC2_Unsigned	Unique_t;%{#ifndef _VUID_T_#define _VUID_T_typedef unsigned int	vuid_t; /* moved here from venus/venus.private.h  (Satya 3/23/92) */#endif _VUID_T_%}typedef RPC2_Struct {	VolumeId	Volume;	VnodeId		Vnode;	Unique_t	Unique;}	ViceFid;typedef RPC2_Struct{	RPC2_Unsigned	Host;	RPC2_Unsigned	Uniquifier;}	ViceStoreId;typedef RPC2_Struct{	RPC2_Integer	Site0;	RPC2_Integer	Site1;	RPC2_Integer	Site2;	RPC2_Integer	Site3;	RPC2_Integer	Site4;	RPC2_Integer	Site5;	RPC2_Integer	Site6;	RPC2_Integer	Site7;}	ViceVersionArray;typedef RPC2_Struct{	ViceVersionArray	Versions;	ViceStoreId	StoreId;	RPC2_Unsigned	Flags;}	ViceVersionVector;typedef RPC2_Unsigned	UserId;typedef RPC2_Unsigned	FileVersion;typedef RPC2_Unsigned	Date_t;typedef RPC2_Integer	Rights;typedef	RPC2_Enum { 	Invalid = 0,	File = 1, 	Directory = 2, 	SymbolicLink = 3 } 	ViceDataType;typedef RPC2_Enum{	NoCallBack = 0,	CallBackSet = 1} 	CallBackStatus;typedef RPC2_Struct{	RPC2_Unsigned	InterfaceVersion;	ViceDataType	VnodeType;	RPC2_Integer	LinkCount;	RPC2_Unsigned	Length;	FileVersion	DataVersion;	ViceVersionVector	VV;	Date_t		Date;	UserId		Author;	UserId		Owner;	CallBackStatus	CallBack;	Rights		MyAccess;	Rights		AnyAccess;	RPC2_Unsigned	Mode;	VnodeId		vparent;	Unique_t	uparent;}	ViceStatus;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -