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.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/sunrpc/auth.h b/include/linux/sunrpc/auth.h
index d9af474a857d..58a6765c1c5e 100644
--- a/include/linux/sunrpc/auth.h
+++ b/include/linux/sunrpc/auth.h
@@ -125,7 +125,8 @@ struct rpc_authops {
125 struct module *owner; 125 struct module *owner;
126 rpc_authflavor_t au_flavor; /* flavor (RPC_AUTH_*) */ 126 rpc_authflavor_t au_flavor; /* flavor (RPC_AUTH_*) */
127 char * au_name; 127 char * au_name;
128 struct rpc_auth * (*create)(struct rpc_auth_create_args *, struct rpc_clnt *); 128 struct rpc_auth * (*create)(const struct rpc_auth_create_args *,
129 struct rpc_clnt *);
129 void (*destroy)(struct rpc_auth *); 130 void (*destroy)(struct rpc_auth *);
130 131
131 int (*hash_cred)(struct auth_cred *, unsigned int); 132 int (*hash_cred)(struct auth_cred *, unsigned int);
@@ -174,7 +175,7 @@ struct rpc_cred * rpc_lookup_generic_cred(struct auth_cred *, int, gfp_t);
174struct rpc_cred * rpc_lookup_machine_cred(const char *service_name); 175struct rpc_cred * rpc_lookup_machine_cred(const char *service_name);
175int rpcauth_register(const struct rpc_authops *); 176int rpcauth_register(const struct rpc_authops *);
176int rpcauth_unregister(const struct rpc_authops *); 177int rpcauth_unregister(const struct rpc_authops *);
177struct rpc_auth * rpcauth_create(struct rpc_auth_create_args *, 178struct rpc_auth * rpcauth_create(const struct rpc_auth_create_args *,
178 struct rpc_clnt *); 179 struct rpc_clnt *);
179void rpcauth_release(struct rpc_auth *); 180void rpcauth_release(struct rpc_auth *);
180rpc_authflavor_t rpcauth_get_pseudoflavor(rpc_authflavor_t, 181rpc_authflavor_t rpcauth_get_pseudoflavor(rpc_authflavor_t,