Deleted Added
full compact
nfs_var.h (227760) nfs_var.h (240720)
1/*-
2 * Copyright (c) 1989, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * Rick Macklem at The University of Guelph.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

24 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 * SUCH DAMAGE.
31 *
1/*-
2 * Copyright (c) 1989, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * Rick Macklem at The University of Guelph.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

24 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 * SUCH DAMAGE.
31 *
32 * $FreeBSD: head/sys/fs/nfs/nfs_var.h 227760 2011-11-20 16:46:50Z rmacklem $
32 * $FreeBSD: head/sys/fs/nfs/nfs_var.h 240720 2012-09-20 02:49:25Z rmacklem $
33 */
34
35/*
36 * XXX needs <nfs/rpcv2.h> and <nfs/nfs.h> because of typedefs
37 */
38
39struct uio;
40struct ucred;

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

290int nfsv4_fillattr(struct nfsrv_descript *, struct mount *, vnode_t, NFSACL_T *,
291 struct vattr *, fhandle_t *, int, nfsattrbit_t *,
292 struct ucred *, NFSPROC_T *, int, int, int, int, uint64_t);
293void nfsrv_fillattr(struct nfsrv_descript *, struct nfsvattr *);
294void nfsrv_adj(mbuf_t, int, int);
295void nfsrv_postopattr(struct nfsrv_descript *, int, struct nfsvattr *);
296int nfsd_errmap(struct nfsrv_descript *);
297void nfsv4_uidtostr(uid_t, u_char **, int *, NFSPROC_T *);
33 */
34
35/*
36 * XXX needs <nfs/rpcv2.h> and <nfs/nfs.h> because of typedefs
37 */
38
39struct uio;
40struct ucred;

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

290int nfsv4_fillattr(struct nfsrv_descript *, struct mount *, vnode_t, NFSACL_T *,
291 struct vattr *, fhandle_t *, int, nfsattrbit_t *,
292 struct ucred *, NFSPROC_T *, int, int, int, int, uint64_t);
293void nfsrv_fillattr(struct nfsrv_descript *, struct nfsvattr *);
294void nfsrv_adj(mbuf_t, int, int);
295void nfsrv_postopattr(struct nfsrv_descript *, int, struct nfsvattr *);
296int nfsd_errmap(struct nfsrv_descript *);
297void nfsv4_uidtostr(uid_t, u_char **, int *, NFSPROC_T *);
298int nfsv4_strtouid(u_char *, int, uid_t *, NFSPROC_T *);
298int nfsv4_strtouid(struct nfsrv_descript *, u_char *, int, uid_t *,
299 NFSPROC_T *);
299void nfsv4_gidtostr(gid_t, u_char **, int *, NFSPROC_T *);
300void nfsv4_gidtostr(gid_t, u_char **, int *, NFSPROC_T *);
300int nfsv4_strtogid(u_char *, int, gid_t *, NFSPROC_T *);
301int nfsv4_strtogid(struct nfsrv_descript *, u_char *, int, gid_t *,
302 NFSPROC_T *);
301int nfsrv_checkuidgid(struct nfsrv_descript *, struct nfsvattr *);
302void nfsrv_fixattr(struct nfsrv_descript *, vnode_t,
303 struct nfsvattr *, NFSACL_T *, NFSPROC_T *, nfsattrbit_t *,
304 struct nfsexstuff *);
305int nfsrv_errmoved(int);
306int nfsrv_putreferralattr(struct nfsrv_descript *, nfsattrbit_t *,
307 struct nfsreferral *, int, int *);
308int nfsrv_parsename(struct nfsrv_descript *, char *, u_long *,

--- 294 unchanged lines hidden ---
303int nfsrv_checkuidgid(struct nfsrv_descript *, struct nfsvattr *);
304void nfsrv_fixattr(struct nfsrv_descript *, vnode_t,
305 struct nfsvattr *, NFSACL_T *, NFSPROC_T *, nfsattrbit_t *,
306 struct nfsexstuff *);
307int nfsrv_errmoved(int);
308int nfsrv_putreferralattr(struct nfsrv_descript *, nfsattrbit_t *,
309 struct nfsreferral *, int, int *);
310int nfsrv_parsename(struct nfsrv_descript *, char *, u_long *,

--- 294 unchanged lines hidden ---