The language definition was extracted from the new draft-ietf-nfsv4-posix-acls specification. This ensures good constant and type name alignment between the spec and the Linux kernel source code, and brings in some basic XDR utilities for handling NFSv4 POSIX draft ACLs. Reviewed-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
35 lines
1.7 KiB
C
35 lines
1.7 KiB
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/* Generated by xdrgen. Manual edits will be lost. */
|
|
/* XDR specification file: ../../Documentation/sunrpc/xdr/nfs4_1.x */
|
|
/* XDR specification modification time: Thu Jan 8 23:12:07 2026 */
|
|
|
|
#ifndef _LINUX_XDRGEN_NFS4_1_DECL_H
|
|
#define _LINUX_XDRGEN_NFS4_1_DECL_H
|
|
|
|
#include <linux/types.h>
|
|
|
|
#include <linux/sunrpc/xdr.h>
|
|
#include <linux/sunrpc/xdrgen/_defs.h>
|
|
#include <linux/sunrpc/xdrgen/_builtins.h>
|
|
#include <linux/sunrpc/xdrgen/nfs4_1.h>
|
|
|
|
bool xdrgen_decode_fattr4_open_arguments(struct xdr_stream *xdr, fattr4_open_arguments *ptr);
|
|
bool xdrgen_encode_fattr4_open_arguments(struct xdr_stream *xdr, const fattr4_open_arguments *value);
|
|
|
|
bool xdrgen_decode_fattr4_time_deleg_access(struct xdr_stream *xdr, fattr4_time_deleg_access *ptr);
|
|
bool xdrgen_encode_fattr4_time_deleg_access(struct xdr_stream *xdr, const fattr4_time_deleg_access *value);
|
|
|
|
bool xdrgen_decode_fattr4_time_deleg_modify(struct xdr_stream *xdr, fattr4_time_deleg_modify *ptr);
|
|
bool xdrgen_encode_fattr4_time_deleg_modify(struct xdr_stream *xdr, const fattr4_time_deleg_modify *value);
|
|
bool xdrgen_decode_aclmodel4(struct xdr_stream *xdr, aclmodel4 *ptr);
|
|
bool xdrgen_encode_aclmodel4(struct xdr_stream *xdr, aclmodel4 value);
|
|
bool xdrgen_decode_aclscope4(struct xdr_stream *xdr, aclscope4 *ptr);
|
|
bool xdrgen_encode_aclscope4(struct xdr_stream *xdr, aclscope4 value);
|
|
bool xdrgen_decode_posixacetag4(struct xdr_stream *xdr, posixacetag4 *ptr);
|
|
bool xdrgen_encode_posixacetag4(struct xdr_stream *xdr, posixacetag4 value);
|
|
|
|
bool xdrgen_decode_posixaceperm4(struct xdr_stream *xdr, posixaceperm4 *ptr);
|
|
bool xdrgen_encode_posixaceperm4(struct xdr_stream *xdr, const posixaceperm4 value);
|
|
|
|
|
|
#endif /* _LINUX_XDRGEN_NFS4_1_DECL_H */
|