Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ShExBy/shex_roo.../usr/include/linux
File: coda.h
/*
[0] Fix | Delete
You may distribute this file under either of the two licenses that
[1] Fix | Delete
follow at your discretion.
[2] Fix | Delete
*/
[3] Fix | Delete
[4] Fix | Delete
/* BLURB lgpl
[5] Fix | Delete
[6] Fix | Delete
Coda File System
[7] Fix | Delete
Release 5
[8] Fix | Delete
[9] Fix | Delete
Copyright (c) 1987-1999 Carnegie Mellon University
[10] Fix | Delete
Additional copyrights listed below
[11] Fix | Delete
[12] Fix | Delete
This code is distributed "AS IS" without warranty of any kind under
[13] Fix | Delete
the terms of the GNU Library General Public Licence Version 2, as
[14] Fix | Delete
shown in the file LICENSE, or under the license shown below. The
[15] Fix | Delete
technical and financial contributors to Coda are listed in the file
[16] Fix | Delete
CREDITS.
[17] Fix | Delete
[18] Fix | Delete
Additional copyrights
[19] Fix | Delete
*/
[20] Fix | Delete
[21] Fix | Delete
/*
[22] Fix | Delete
[23] Fix | Delete
Coda: an Experimental Distributed File System
[24] Fix | Delete
Release 4.0
[25] Fix | Delete
[26] Fix | Delete
Copyright (c) 1987-1999 Carnegie Mellon University
[27] Fix | Delete
All Rights Reserved
[28] Fix | Delete
[29] Fix | Delete
Permission to use, copy, modify and distribute this software and its
[30] Fix | Delete
documentation is hereby granted, provided that both the copyright
[31] Fix | Delete
notice and this permission notice appear in all copies of the
[32] Fix | Delete
software, derivative works or modified versions, and any portions
[33] Fix | Delete
thereof, and that both notices appear in supporting documentation, and
[34] Fix | Delete
that credit is given to Carnegie Mellon University in all documents
[35] Fix | Delete
and publicity pertaining to direct or indirect use of this code or its
[36] Fix | Delete
derivatives.
[37] Fix | Delete
[38] Fix | Delete
CODA IS AN EXPERIMENTAL SOFTWARE SYSTEM AND IS KNOWN TO HAVE BUGS,
[39] Fix | Delete
SOME OF WHICH MAY HAVE SERIOUS CONSEQUENCES. CARNEGIE MELLON ALLOWS
[40] Fix | Delete
FREE USE OF THIS SOFTWARE IN ITS "AS IS" CONDITION. CARNEGIE MELLON
[41] Fix | Delete
DISCLAIMS ANY LIABILITY OF ANY KIND FOR ANY DAMAGES WHATSOEVER
[42] Fix | Delete
RESULTING DIRECTLY OR INDIRECTLY FROM THE USE OF THIS SOFTWARE OR OF
[43] Fix | Delete
ANY DERIVATIVE WORK.
[44] Fix | Delete
[45] Fix | Delete
Carnegie Mellon encourages users of this software to return any
[46] Fix | Delete
improvements or extensions that they make, and to grant Carnegie
[47] Fix | Delete
Mellon the rights to redistribute these changes without encumbrance.
[48] Fix | Delete
*/
[49] Fix | Delete
[50] Fix | Delete
/*
[51] Fix | Delete
*
[52] Fix | Delete
* Based on cfs.h from Mach, but revamped for increased simplicity.
[53] Fix | Delete
* Linux modifications by
[54] Fix | Delete
* Peter Braam, Aug 1996
[55] Fix | Delete
*/
[56] Fix | Delete
[57] Fix | Delete
#ifndef _CODA_HEADER_
[58] Fix | Delete
#define _CODA_HEADER_
[59] Fix | Delete
[60] Fix | Delete
[61] Fix | Delete
/* Catch new _KERNEL defn for NetBSD and DJGPP/__CYGWIN32__ */
[62] Fix | Delete
#if defined(__NetBSD__) || \
[63] Fix | Delete
((defined(DJGPP) || defined(__CYGWIN32__)) && !defined(KERNEL))
[64] Fix | Delete
#include <sys/types.h>
[65] Fix | Delete
#endif
[66] Fix | Delete
[67] Fix | Delete
#ifndef CODA_MAXSYMLINKS
[68] Fix | Delete
#define CODA_MAXSYMLINKS 10
[69] Fix | Delete
#endif
[70] Fix | Delete
[71] Fix | Delete
#if defined(DJGPP) || defined(__CYGWIN32__)
[72] Fix | Delete
#ifdef KERNEL
[73] Fix | Delete
typedef unsigned long u_long;
[74] Fix | Delete
typedef unsigned int u_int;
[75] Fix | Delete
typedef unsigned short u_short;
[76] Fix | Delete
typedef u_long ino_t;
[77] Fix | Delete
typedef u_long dev_t;
[78] Fix | Delete
typedef void * caddr_t;
[79] Fix | Delete
#ifdef DOS
[80] Fix | Delete
typedef unsigned __int64 u_quad_t;
[81] Fix | Delete
#else
[82] Fix | Delete
typedef unsigned long long u_quad_t;
[83] Fix | Delete
#endif
[84] Fix | Delete
[85] Fix | Delete
#define __inline__
[86] Fix | Delete
[87] Fix | Delete
struct timespec {
[88] Fix | Delete
long ts_sec;
[89] Fix | Delete
long ts_nsec;
[90] Fix | Delete
};
[91] Fix | Delete
#else /* DJGPP but not KERNEL */
[92] Fix | Delete
#include <sys/time.h>
[93] Fix | Delete
typedef unsigned long long u_quad_t;
[94] Fix | Delete
#endif /* !KERNEL */
[95] Fix | Delete
#endif /* !DJGPP */
[96] Fix | Delete
[97] Fix | Delete
[98] Fix | Delete
#if defined(__linux__)
[99] Fix | Delete
#include <linux/time.h>
[100] Fix | Delete
#define cdev_t u_quad_t
[101] Fix | Delete
#if !defined(_UQUAD_T_) && (!defined(__GLIBC__) || __GLIBC__ < 2)
[102] Fix | Delete
#define _UQUAD_T_ 1
[103] Fix | Delete
typedef unsigned long long u_quad_t;
[104] Fix | Delete
#endif
[105] Fix | Delete
#else
[106] Fix | Delete
#define cdev_t dev_t
[107] Fix | Delete
#endif
[108] Fix | Delete
[109] Fix | Delete
#ifdef __CYGWIN32__
[110] Fix | Delete
struct timespec {
[111] Fix | Delete
time_t tv_sec; /* seconds */
[112] Fix | Delete
long tv_nsec; /* nanoseconds */
[113] Fix | Delete
};
[114] Fix | Delete
#endif
[115] Fix | Delete
[116] Fix | Delete
#ifndef __BIT_TYPES_DEFINED__
[117] Fix | Delete
#define __BIT_TYPES_DEFINED__
[118] Fix | Delete
typedef signed char int8_t;
[119] Fix | Delete
typedef unsigned char u_int8_t;
[120] Fix | Delete
typedef short int16_t;
[121] Fix | Delete
typedef unsigned short u_int16_t;
[122] Fix | Delete
typedef int int32_t;
[123] Fix | Delete
typedef unsigned int u_int32_t;
[124] Fix | Delete
#endif
[125] Fix | Delete
[126] Fix | Delete
[127] Fix | Delete
/*
[128] Fix | Delete
* Cfs constants
[129] Fix | Delete
*/
[130] Fix | Delete
#define CODA_MAXNAMLEN 255
[131] Fix | Delete
#define CODA_MAXPATHLEN 1024
[132] Fix | Delete
#define CODA_MAXSYMLINK 10
[133] Fix | Delete
[134] Fix | Delete
/* these are Coda's version of O_RDONLY etc combinations
[135] Fix | Delete
* to deal with VFS open modes
[136] Fix | Delete
*/
[137] Fix | Delete
#define C_O_READ 0x001
[138] Fix | Delete
#define C_O_WRITE 0x002
[139] Fix | Delete
#define C_O_TRUNC 0x010
[140] Fix | Delete
#define C_O_EXCL 0x100
[141] Fix | Delete
#define C_O_CREAT 0x200
[142] Fix | Delete
[143] Fix | Delete
/* these are to find mode bits in Venus */
[144] Fix | Delete
#define C_M_READ 00400
[145] Fix | Delete
#define C_M_WRITE 00200
[146] Fix | Delete
[147] Fix | Delete
/* for access Venus will use */
[148] Fix | Delete
#define C_A_C_OK 8 /* Test for writing upon create. */
[149] Fix | Delete
#define C_A_R_OK 4 /* Test for read permission. */
[150] Fix | Delete
#define C_A_W_OK 2 /* Test for write permission. */
[151] Fix | Delete
#define C_A_X_OK 1 /* Test for execute permission. */
[152] Fix | Delete
#define C_A_F_OK 0 /* Test for existence. */
[153] Fix | Delete
[154] Fix | Delete
[155] Fix | Delete
[156] Fix | Delete
#ifndef _VENUS_DIRENT_T_
[157] Fix | Delete
#define _VENUS_DIRENT_T_ 1
[158] Fix | Delete
struct venus_dirent {
[159] Fix | Delete
u_int32_t d_fileno; /* file number of entry */
[160] Fix | Delete
u_int16_t d_reclen; /* length of this record */
[161] Fix | Delete
u_int8_t d_type; /* file type, see below */
[162] Fix | Delete
u_int8_t d_namlen; /* length of string in d_name */
[163] Fix | Delete
char d_name[CODA_MAXNAMLEN + 1];/* name must be no longer than this */
[164] Fix | Delete
};
[165] Fix | Delete
#undef DIRSIZ
[166] Fix | Delete
#define DIRSIZ(dp) ((sizeof (struct venus_dirent) - (CODA_MAXNAMLEN+1)) + \
[167] Fix | Delete
(((dp)->d_namlen+1 + 3) &~ 3))
[168] Fix | Delete
[169] Fix | Delete
/*
[170] Fix | Delete
* File types
[171] Fix | Delete
*/
[172] Fix | Delete
#define CDT_UNKNOWN 0
[173] Fix | Delete
#define CDT_FIFO 1
[174] Fix | Delete
#define CDT_CHR 2
[175] Fix | Delete
#define CDT_DIR 4
[176] Fix | Delete
#define CDT_BLK 6
[177] Fix | Delete
#define CDT_REG 8
[178] Fix | Delete
#define CDT_LNK 10
[179] Fix | Delete
#define CDT_SOCK 12
[180] Fix | Delete
#define CDT_WHT 14
[181] Fix | Delete
[182] Fix | Delete
/*
[183] Fix | Delete
* Convert between stat structure types and directory types.
[184] Fix | Delete
*/
[185] Fix | Delete
#define IFTOCDT(mode) (((mode) & 0170000) >> 12)
[186] Fix | Delete
#define CDTTOIF(dirtype) ((dirtype) << 12)
[187] Fix | Delete
[188] Fix | Delete
#endif
[189] Fix | Delete
[190] Fix | Delete
#ifndef _VUID_T_
[191] Fix | Delete
#define _VUID_T_
[192] Fix | Delete
typedef u_int32_t vuid_t;
[193] Fix | Delete
typedef u_int32_t vgid_t;
[194] Fix | Delete
#endif /*_VUID_T_ */
[195] Fix | Delete
[196] Fix | Delete
struct CodaFid {
[197] Fix | Delete
u_int32_t opaque[4];
[198] Fix | Delete
};
[199] Fix | Delete
[200] Fix | Delete
#define coda_f2i(fid)\
[201] Fix | Delete
(fid ? (fid->opaque[3] ^ (fid->opaque[2]<<10) ^ (fid->opaque[1]<<20) ^ fid->opaque[0]) : 0)
[202] Fix | Delete
[203] Fix | Delete
#ifndef _VENUS_VATTR_T_
[204] Fix | Delete
#define _VENUS_VATTR_T_
[205] Fix | Delete
/*
[206] Fix | Delete
* Vnode types. VNON means no type.
[207] Fix | Delete
*/
[208] Fix | Delete
enum coda_vtype { C_VNON, C_VREG, C_VDIR, C_VBLK, C_VCHR, C_VLNK, C_VSOCK, C_VFIFO, C_VBAD };
[209] Fix | Delete
[210] Fix | Delete
struct coda_vattr {
[211] Fix | Delete
long va_type; /* vnode type (for create) */
[212] Fix | Delete
u_short va_mode; /* files access mode and type */
[213] Fix | Delete
short va_nlink; /* number of references to file */
[214] Fix | Delete
vuid_t va_uid; /* owner user id */
[215] Fix | Delete
vgid_t va_gid; /* owner group id */
[216] Fix | Delete
long va_fileid; /* file id */
[217] Fix | Delete
u_quad_t va_size; /* file size in bytes */
[218] Fix | Delete
long va_blocksize; /* blocksize preferred for i/o */
[219] Fix | Delete
struct timespec va_atime; /* time of last access */
[220] Fix | Delete
struct timespec va_mtime; /* time of last modification */
[221] Fix | Delete
struct timespec va_ctime; /* time file changed */
[222] Fix | Delete
u_long va_gen; /* generation number of file */
[223] Fix | Delete
u_long va_flags; /* flags defined for file */
[224] Fix | Delete
cdev_t va_rdev; /* device special file represents */
[225] Fix | Delete
u_quad_t va_bytes; /* bytes of disk space held by file */
[226] Fix | Delete
u_quad_t va_filerev; /* file modification number */
[227] Fix | Delete
};
[228] Fix | Delete
[229] Fix | Delete
#endif
[230] Fix | Delete
[231] Fix | Delete
/* structure used by CODA_STATFS for getting cache information from venus */
[232] Fix | Delete
struct coda_statfs {
[233] Fix | Delete
int32_t f_blocks;
[234] Fix | Delete
int32_t f_bfree;
[235] Fix | Delete
int32_t f_bavail;
[236] Fix | Delete
int32_t f_files;
[237] Fix | Delete
int32_t f_ffree;
[238] Fix | Delete
};
[239] Fix | Delete
[240] Fix | Delete
/*
[241] Fix | Delete
* Kernel <--> Venus communications.
[242] Fix | Delete
*/
[243] Fix | Delete
[244] Fix | Delete
#define CODA_ROOT 2
[245] Fix | Delete
#define CODA_OPEN_BY_FD 3
[246] Fix | Delete
#define CODA_OPEN 4
[247] Fix | Delete
#define CODA_CLOSE 5
[248] Fix | Delete
#define CODA_IOCTL 6
[249] Fix | Delete
#define CODA_GETATTR 7
[250] Fix | Delete
#define CODA_SETATTR 8
[251] Fix | Delete
#define CODA_ACCESS 9
[252] Fix | Delete
#define CODA_LOOKUP 10
[253] Fix | Delete
#define CODA_CREATE 11
[254] Fix | Delete
#define CODA_REMOVE 12
[255] Fix | Delete
#define CODA_LINK 13
[256] Fix | Delete
#define CODA_RENAME 14
[257] Fix | Delete
#define CODA_MKDIR 15
[258] Fix | Delete
#define CODA_RMDIR 16
[259] Fix | Delete
#define CODA_SYMLINK 18
[260] Fix | Delete
#define CODA_READLINK 19
[261] Fix | Delete
#define CODA_FSYNC 20
[262] Fix | Delete
#define CODA_VGET 22
[263] Fix | Delete
#define CODA_SIGNAL 23
[264] Fix | Delete
#define CODA_REPLACE 24 /* DOWNCALL */
[265] Fix | Delete
#define CODA_FLUSH 25 /* DOWNCALL */
[266] Fix | Delete
#define CODA_PURGEUSER 26 /* DOWNCALL */
[267] Fix | Delete
#define CODA_ZAPFILE 27 /* DOWNCALL */
[268] Fix | Delete
#define CODA_ZAPDIR 28 /* DOWNCALL */
[269] Fix | Delete
#define CODA_PURGEFID 30 /* DOWNCALL */
[270] Fix | Delete
#define CODA_OPEN_BY_PATH 31
[271] Fix | Delete
#define CODA_RESOLVE 32
[272] Fix | Delete
#define CODA_REINTEGRATE 33
[273] Fix | Delete
#define CODA_STATFS 34
[274] Fix | Delete
#define CODA_STORE 35
[275] Fix | Delete
#define CODA_RELEASE 36
[276] Fix | Delete
#define CODA_NCALLS 37
[277] Fix | Delete
[278] Fix | Delete
#define DOWNCALL(opcode) (opcode >= CODA_REPLACE && opcode <= CODA_PURGEFID)
[279] Fix | Delete
[280] Fix | Delete
#define VC_MAXDATASIZE 8192
[281] Fix | Delete
#define VC_MAXMSGSIZE sizeof(union inputArgs)+sizeof(union outputArgs) +\
[282] Fix | Delete
VC_MAXDATASIZE
[283] Fix | Delete
[284] Fix | Delete
#define CIOC_KERNEL_VERSION _IOWR('c', 10, size_t)
[285] Fix | Delete
[286] Fix | Delete
#define CODA_KERNEL_VERSION 3 /* 128-bit file identifiers */
[287] Fix | Delete
[288] Fix | Delete
/*
[289] Fix | Delete
* Venus <-> Coda RPC arguments
[290] Fix | Delete
*/
[291] Fix | Delete
struct coda_in_hdr {
[292] Fix | Delete
u_int32_t opcode;
[293] Fix | Delete
u_int32_t unique; /* Keep multiple outstanding msgs distinct */
[294] Fix | Delete
pid_t pid;
[295] Fix | Delete
pid_t pgid;
[296] Fix | Delete
vuid_t uid;
[297] Fix | Delete
};
[298] Fix | Delete
[299] Fix | Delete
/* Really important that opcode and unique are 1st two fields! */
[300] Fix | Delete
struct coda_out_hdr {
[301] Fix | Delete
u_int32_t opcode;
[302] Fix | Delete
u_int32_t unique;
[303] Fix | Delete
u_int32_t result;
[304] Fix | Delete
};
[305] Fix | Delete
[306] Fix | Delete
/* coda_root: NO_IN */
[307] Fix | Delete
struct coda_root_out {
[308] Fix | Delete
struct coda_out_hdr oh;
[309] Fix | Delete
struct CodaFid VFid;
[310] Fix | Delete
};
[311] Fix | Delete
[312] Fix | Delete
struct coda_root_in {
[313] Fix | Delete
struct coda_in_hdr in;
[314] Fix | Delete
};
[315] Fix | Delete
[316] Fix | Delete
/* coda_open: */
[317] Fix | Delete
struct coda_open_in {
[318] Fix | Delete
struct coda_in_hdr ih;
[319] Fix | Delete
struct CodaFid VFid;
[320] Fix | Delete
int flags;
[321] Fix | Delete
};
[322] Fix | Delete
[323] Fix | Delete
struct coda_open_out {
[324] Fix | Delete
struct coda_out_hdr oh;
[325] Fix | Delete
cdev_t dev;
[326] Fix | Delete
ino_t inode;
[327] Fix | Delete
};
[328] Fix | Delete
[329] Fix | Delete
[330] Fix | Delete
/* coda_store: */
[331] Fix | Delete
struct coda_store_in {
[332] Fix | Delete
struct coda_in_hdr ih;
[333] Fix | Delete
struct CodaFid VFid;
[334] Fix | Delete
int flags;
[335] Fix | Delete
};
[336] Fix | Delete
[337] Fix | Delete
struct coda_store_out {
[338] Fix | Delete
struct coda_out_hdr out;
[339] Fix | Delete
};
[340] Fix | Delete
[341] Fix | Delete
/* coda_release: */
[342] Fix | Delete
struct coda_release_in {
[343] Fix | Delete
struct coda_in_hdr ih;
[344] Fix | Delete
struct CodaFid VFid;
[345] Fix | Delete
int flags;
[346] Fix | Delete
};
[347] Fix | Delete
[348] Fix | Delete
struct coda_release_out {
[349] Fix | Delete
struct coda_out_hdr out;
[350] Fix | Delete
};
[351] Fix | Delete
[352] Fix | Delete
/* coda_close: */
[353] Fix | Delete
struct coda_close_in {
[354] Fix | Delete
struct coda_in_hdr ih;
[355] Fix | Delete
struct CodaFid VFid;
[356] Fix | Delete
int flags;
[357] Fix | Delete
};
[358] Fix | Delete
[359] Fix | Delete
struct coda_close_out {
[360] Fix | Delete
struct coda_out_hdr out;
[361] Fix | Delete
};
[362] Fix | Delete
[363] Fix | Delete
/* coda_ioctl: */
[364] Fix | Delete
struct coda_ioctl_in {
[365] Fix | Delete
struct coda_in_hdr ih;
[366] Fix | Delete
struct CodaFid VFid;
[367] Fix | Delete
int cmd;
[368] Fix | Delete
int len;
[369] Fix | Delete
int rwflag;
[370] Fix | Delete
char *data; /* Place holder for data. */
[371] Fix | Delete
};
[372] Fix | Delete
[373] Fix | Delete
struct coda_ioctl_out {
[374] Fix | Delete
struct coda_out_hdr oh;
[375] Fix | Delete
int len;
[376] Fix | Delete
caddr_t data; /* Place holder for data. */
[377] Fix | Delete
};
[378] Fix | Delete
[379] Fix | Delete
[380] Fix | Delete
/* coda_getattr: */
[381] Fix | Delete
struct coda_getattr_in {
[382] Fix | Delete
struct coda_in_hdr ih;
[383] Fix | Delete
struct CodaFid VFid;
[384] Fix | Delete
};
[385] Fix | Delete
[386] Fix | Delete
struct coda_getattr_out {
[387] Fix | Delete
struct coda_out_hdr oh;
[388] Fix | Delete
struct coda_vattr attr;
[389] Fix | Delete
};
[390] Fix | Delete
[391] Fix | Delete
[392] Fix | Delete
/* coda_setattr: NO_OUT */
[393] Fix | Delete
struct coda_setattr_in {
[394] Fix | Delete
struct coda_in_hdr ih;
[395] Fix | Delete
struct CodaFid VFid;
[396] Fix | Delete
struct coda_vattr attr;
[397] Fix | Delete
};
[398] Fix | Delete
[399] Fix | Delete
struct coda_setattr_out {
[400] Fix | Delete
struct coda_out_hdr out;
[401] Fix | Delete
};
[402] Fix | Delete
[403] Fix | Delete
/* coda_access: NO_OUT */
[404] Fix | Delete
struct coda_access_in {
[405] Fix | Delete
struct coda_in_hdr ih;
[406] Fix | Delete
struct CodaFid VFid;
[407] Fix | Delete
int flags;
[408] Fix | Delete
};
[409] Fix | Delete
[410] Fix | Delete
struct coda_access_out {
[411] Fix | Delete
struct coda_out_hdr out;
[412] Fix | Delete
};
[413] Fix | Delete
[414] Fix | Delete
[415] Fix | Delete
/* lookup flags */
[416] Fix | Delete
#define CLU_CASE_SENSITIVE 0x01
[417] Fix | Delete
#define CLU_CASE_INSENSITIVE 0x02
[418] Fix | Delete
[419] Fix | Delete
/* coda_lookup: */
[420] Fix | Delete
struct coda_lookup_in {
[421] Fix | Delete
struct coda_in_hdr ih;
[422] Fix | Delete
struct CodaFid VFid;
[423] Fix | Delete
int name; /* Place holder for data. */
[424] Fix | Delete
int flags;
[425] Fix | Delete
};
[426] Fix | Delete
[427] Fix | Delete
struct coda_lookup_out {
[428] Fix | Delete
struct coda_out_hdr oh;
[429] Fix | Delete
struct CodaFid VFid;
[430] Fix | Delete
int vtype;
[431] Fix | Delete
};
[432] Fix | Delete
[433] Fix | Delete
[434] Fix | Delete
/* coda_create: */
[435] Fix | Delete
struct coda_create_in {
[436] Fix | Delete
struct coda_in_hdr ih;
[437] Fix | Delete
struct CodaFid VFid;
[438] Fix | Delete
struct coda_vattr attr;
[439] Fix | Delete
int excl;
[440] Fix | Delete
int mode;
[441] Fix | Delete
int name; /* Place holder for data. */
[442] Fix | Delete
};
[443] Fix | Delete
[444] Fix | Delete
struct coda_create_out {
[445] Fix | Delete
struct coda_out_hdr oh;
[446] Fix | Delete
struct CodaFid VFid;
[447] Fix | Delete
struct coda_vattr attr;
[448] Fix | Delete
};
[449] Fix | Delete
[450] Fix | Delete
[451] Fix | Delete
/* coda_remove: NO_OUT */
[452] Fix | Delete
struct coda_remove_in {
[453] Fix | Delete
struct coda_in_hdr ih;
[454] Fix | Delete
struct CodaFid VFid;
[455] Fix | Delete
int name; /* Place holder for data. */
[456] Fix | Delete
};
[457] Fix | Delete
[458] Fix | Delete
struct coda_remove_out {
[459] Fix | Delete
struct coda_out_hdr out;
[460] Fix | Delete
};
[461] Fix | Delete
[462] Fix | Delete
/* coda_link: NO_OUT */
[463] Fix | Delete
struct coda_link_in {
[464] Fix | Delete
struct coda_in_hdr ih;
[465] Fix | Delete
struct CodaFid sourceFid; /* cnode to link *to* */
[466] Fix | Delete
struct CodaFid destFid; /* Directory in which to place link */
[467] Fix | Delete
int tname; /* Place holder for data. */
[468] Fix | Delete
};
[469] Fix | Delete
[470] Fix | Delete
struct coda_link_out {
[471] Fix | Delete
struct coda_out_hdr out;
[472] Fix | Delete
};
[473] Fix | Delete
[474] Fix | Delete
[475] Fix | Delete
/* coda_rename: NO_OUT */
[476] Fix | Delete
struct coda_rename_in {
[477] Fix | Delete
struct coda_in_hdr ih;
[478] Fix | Delete
struct CodaFid sourceFid;
[479] Fix | Delete
int srcname;
[480] Fix | Delete
struct CodaFid destFid;
[481] Fix | Delete
int destname;
[482] Fix | Delete
};
[483] Fix | Delete
[484] Fix | Delete
struct coda_rename_out {
[485] Fix | Delete
struct coda_out_hdr out;
[486] Fix | Delete
};
[487] Fix | Delete
[488] Fix | Delete
/* coda_mkdir: */
[489] Fix | Delete
struct coda_mkdir_in {
[490] Fix | Delete
struct coda_in_hdr ih;
[491] Fix | Delete
struct CodaFid VFid;
[492] Fix | Delete
struct coda_vattr attr;
[493] Fix | Delete
int name; /* Place holder for data. */
[494] Fix | Delete
};
[495] Fix | Delete
[496] Fix | Delete
struct coda_mkdir_out {
[497] Fix | Delete
struct coda_out_hdr oh;
[498] Fix | Delete
struct CodaFid VFid;
[499] Fix | Delete
12
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function