aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sunrpc/auth.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/sunrpc/auth.h')
-rw-r--r--include/linux/sunrpc/auth.h15
1 files changed, 10 insertions, 5 deletions
diff --git a/include/linux/sunrpc/auth.h b/include/linux/sunrpc/auth.h
index 96e237f8e60b..c51e1893f77e 100644
--- a/include/linux/sunrpc/auth.h
+++ b/include/linux/sunrpc/auth.h
@@ -134,11 +134,12 @@ struct rpc_credops {
134 int (*crmarshal)(struct rpc_task *task, 134 int (*crmarshal)(struct rpc_task *task,
135 struct xdr_stream *xdr); 135 struct xdr_stream *xdr);
136 int (*crrefresh)(struct rpc_task *); 136 int (*crrefresh)(struct rpc_task *);
137 __be32 * (*crvalidate)(struct rpc_task *, __be32 *); 137 int (*crvalidate)(struct rpc_task *task,
138 struct xdr_stream *xdr);
138 int (*crwrap_req)(struct rpc_task *task, 139 int (*crwrap_req)(struct rpc_task *task,
139 struct xdr_stream *xdr); 140 struct xdr_stream *xdr);
140 int (*crunwrap_resp)(struct rpc_task *, kxdrdproc_t, 141 int (*crunwrap_resp)(struct rpc_task *task,
141 void *, __be32 *, void *); 142 struct xdr_stream *xdr);
142 int (*crkey_timeout)(struct rpc_cred *); 143 int (*crkey_timeout)(struct rpc_cred *);
143 char * (*crstringify_acceptor)(struct rpc_cred *); 144 char * (*crstringify_acceptor)(struct rpc_cred *);
144 bool (*crneed_reencode)(struct rpc_task *); 145 bool (*crneed_reencode)(struct rpc_task *);
@@ -168,12 +169,16 @@ struct rpc_cred * rpcauth_lookupcred(struct rpc_auth *, int);
168void put_rpccred(struct rpc_cred *); 169void put_rpccred(struct rpc_cred *);
169int rpcauth_marshcred(struct rpc_task *task, 170int rpcauth_marshcred(struct rpc_task *task,
170 struct xdr_stream *xdr); 171 struct xdr_stream *xdr);
171__be32 * rpcauth_checkverf(struct rpc_task *, __be32 *); 172int rpcauth_checkverf(struct rpc_task *task,
173 struct xdr_stream *xdr);
172int rpcauth_wrap_req_encode(struct rpc_task *task, 174int rpcauth_wrap_req_encode(struct rpc_task *task,
173 struct xdr_stream *xdr); 175 struct xdr_stream *xdr);
174int rpcauth_wrap_req(struct rpc_task *task, 176int rpcauth_wrap_req(struct rpc_task *task,
175 struct xdr_stream *xdr); 177 struct xdr_stream *xdr);
176int rpcauth_unwrap_resp(struct rpc_task *task, kxdrdproc_t decode, void *rqstp, __be32 *data, void *obj); 178int rpcauth_unwrap_resp_decode(struct rpc_task *task,
179 struct xdr_stream *xdr);
180int rpcauth_unwrap_resp(struct rpc_task *task,
181 struct xdr_stream *xdr);
177bool rpcauth_xmit_need_reencode(struct rpc_task *task); 182bool rpcauth_xmit_need_reencode(struct rpc_task *task);
178int rpcauth_refreshcred(struct rpc_task *); 183int rpcauth_refreshcred(struct rpc_task *);
179void rpcauth_invalcred(struct rpc_task *); 184void rpcauth_invalcred(struct rpc_task *);