Deleted Added
full compact
coda_venus.h (182371) coda_venus.h (206210)
1/*-
2 *
3 * Coda: an Experimental Distributed File System
4 * Release 3.1
5 *
6 * Copyright (c) 1987-1998 Carnegie Mellon University
7 * All Rights Reserved
8 *

--- 13 unchanged lines hidden (view full) ---

22 * RESULTING DIRECTLY OR INDIRECTLY FROM THE USE OF THIS SOFTWARE OR OF
23 * ANY DERIVATIVE WORK.
24 *
25 * Carnegie Mellon encourages users of this software to return any
26 * improvements or extensions that they make, and to grant Carnegie
27 * Mellon the rights to redistribute these changes without encumbrance.
28 *
29 * @(#) src/sys/coda/coda_venus.h,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $
1/*-
2 *
3 * Coda: an Experimental Distributed File System
4 * Release 3.1
5 *
6 * Copyright (c) 1987-1998 Carnegie Mellon University
7 * All Rights Reserved
8 *

--- 13 unchanged lines hidden (view full) ---

22 * RESULTING DIRECTLY OR INDIRECTLY FROM THE USE OF THIS SOFTWARE OR OF
23 * ANY DERIVATIVE WORK.
24 *
25 * Carnegie Mellon encourages users of this software to return any
26 * improvements or extensions that they make, and to grant Carnegie
27 * Mellon the rights to redistribute these changes without encumbrance.
28 *
29 * @(#) src/sys/coda/coda_venus.h,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $
30 * $FreeBSD: head/sys/fs/coda/coda_venus.h 182371 2008-08-28 15:23:18Z attilio $
30 * $FreeBSD: head/sys/fs/coda/coda_venus.h 206210 2010-04-05 20:12:54Z rwatson $
31 */
32
33#ifndef _CODA_VENUS_H_
34#define _CODA_VENUS_H_
35
36int venus_root(void *mdp, struct ucred *cred, struct proc *p,
31 */
32
33#ifndef _CODA_VENUS_H_
34#define _CODA_VENUS_H_
35
36int venus_root(void *mdp, struct ucred *cred, struct proc *p,
37 /*out*/ CodaFid *VFid);
38int venus_open(void *mdp, CodaFid *fid, int flag, struct ucred *cred,
39 struct proc *p, /*out*/ struct vnode **vp);
40int venus_close(void *mdp, CodaFid *fid, int flag, struct ucred *cred,
41 struct proc *p);
37 /*out*/ struct CodaFid *VFid);
38int venus_open(void *mdp, struct CodaFid *fid, int flag,
39 struct ucred *cred, struct proc *p, /*out*/ struct vnode **vp);
40int venus_close(void *mdp, struct CodaFid *fid, int flag,
41 struct ucred *cred, struct proc *p);
42void venus_read(void);
43void venus_write(void);
42void venus_read(void);
43void venus_write(void);
44int venus_ioctl(void *mdp, CodaFid *fid, int com, int flag, caddr_t data,
45 struct ucred *cred, struct proc *p);
46int venus_getattr(void *mdp, CodaFid *fid, struct ucred *cred,
44int venus_ioctl(void *mdp, struct CodaFid *fid, int com, int flag,
45 caddr_t data, struct ucred *cred, struct proc *p);
46int venus_getattr(void *mdp, struct CodaFid *fid, struct ucred *cred,
47 struct vattr *vap);
47 struct vattr *vap);
48int venus_setattr(void *mdp, CodaFid *fid, struct vattr *vap,
48int venus_setattr(void *mdp, struct CodaFid *fid, struct vattr *vap,
49 struct ucred *cred);
49 struct ucred *cred);
50int venus_access(void *mdp, CodaFid *fid, int mode, struct ucred *cred,
51 struct proc *p);
52int venus_readlink(void *mdp, CodaFid *fid, struct ucred *cred,
50int venus_access(void *mdp, struct CodaFid *fid, int mode,
51 struct ucred *cred, struct proc *p);
52int venus_readlink(void *mdp, struct CodaFid *fid, struct ucred *cred,
53 struct proc *p, /*out*/ char **str, int *len);
53 struct proc *p, /*out*/ char **str, int *len);
54int venus_fsync(void *mdp, CodaFid *fid, struct proc *p);
55int venus_lookup(void *mdp, CodaFid *fid, const char *nm, int len,
56 struct ucred *cred, struct proc *p, /*out*/ CodaFid *VFid,
54int venus_fsync(void *mdp, struct CodaFid *fid, struct proc *p);
55int venus_lookup(void *mdp, struct CodaFid *fid, const char *nm, int len,
56 struct ucred *cred, struct proc *p, /*out*/ struct CodaFid *VFid,
57 int *vtype);
57 int *vtype);
58int venus_create(void *mdp, CodaFid *fid, const char *nm, int len,
58int venus_create(void *mdp, struct CodaFid *fid, const char *nm, int len,
59 int exclusive, int mode, struct vattr *va, struct ucred *cred,
59 int exclusive, int mode, struct vattr *va, struct ucred *cred,
60 struct proc *p, /*out*/ CodaFid *VFid, struct vattr *attr);
61int venus_remove(void *mdp, CodaFid *fid, const char *nm, int len,
60 struct proc *p, /*out*/ struct CodaFid *VFid,
61 struct vattr *attr);
62int venus_remove(void *mdp, struct CodaFid *fid, const char *nm, int len,
62 struct ucred *cred, struct proc *p);
63 struct ucred *cred, struct proc *p);
63int venus_link(void *mdp, CodaFid *fid, CodaFid *tfid, const char *nm,
64 int len, struct ucred *cred, struct proc *p);
65int venus_rename(void *mdp, CodaFid *fid, CodaFid *tfid, const char *nm,
66 int len, const char *tnm, int tlen, struct ucred *cred,
67 struct proc *p);
68int venus_mkdir(void *mdp, CodaFid *fid, const char *nm, int len,
64int venus_link(void *mdp, struct CodaFid *fid, struct CodaFid *tfid,
65 const char *nm, int len, struct ucred *cred, struct proc *p);
66int venus_rename(void *mdp, struct CodaFid *fid, struct CodaFid *tfid,
67 const char *nm, int len, const char *tnm, int tlen,
68 struct ucred *cred, struct proc *p);
69int venus_mkdir(void *mdp, struct CodaFid *fid, const char *nm, int len,
69 struct vattr *va, struct ucred *cred, struct proc *p,
70 struct vattr *va, struct ucred *cred, struct proc *p,
70 /*out*/ CodaFid *VFid, struct vattr *ova);
71int venus_rmdir(void *mdp, CodaFid *fid, const char *nm, int len,
71 /*out*/ struct CodaFid *VFid, struct vattr *ova);
72int venus_rmdir(void *mdp, struct CodaFid *fid, const char *nm, int len,
72 struct ucred *cred, struct proc *p);
73 struct ucred *cred, struct proc *p);
73int venus_symlink(void *mdp, CodaFid *fid, const char *lnm, int llen,
74 const char *nm, int len, struct vattr *va, struct ucred *cred,
75 struct proc *p);
76int venus_readdir(void *mdp, CodaFid *fid, int count, int offset,
74int venus_symlink(void *mdp, struct CodaFid *fid, const char *lnm,
75 int llen, const char *nm, int len, struct vattr *va,
76 struct ucred *cred, struct proc *p);
77int venus_readdir(void *mdp, struct CodaFid *fid, int count, int offset,
77 struct ucred *cred, struct proc *p, /*out*/ char *buffer,
78 int *len);
78 struct ucred *cred, struct proc *p, /*out*/ char *buffer,
79 int *len);
79int venus_fhtovp(void *mdp, CodaFid *fid, struct ucred *cred,
80 struct proc *p, /*out*/ CodaFid *VFid, int *vtype);
80int venus_fhtovp(void *mdp, struct CodaFid *fid, struct ucred *cred,
81 struct proc *p, /*out*/ struct CodaFid *VFid, int *vtype);
81
82#endif /* !_CODA_VENUS_H_ */
82
83#endif /* !_CODA_VENUS_H_ */