SUNRPC: Clean up rpc credential initialisation
[linux-2.6-block.git] / include / linux / sunrpc / auth.h
index e606c28046857500e6d838225b31e415e3d575d8..d5bfc67461fcc6d735ebc41abd25278de27ec678 100644 (file)
@@ -127,6 +127,7 @@ int                 rpcauth_unregister(const struct rpc_authops *);
 struct rpc_auth *      rpcauth_create(rpc_authflavor_t, struct rpc_clnt *);
 void                   rpcauth_release(struct rpc_auth *);
 struct rpc_cred *      rpcauth_lookup_credcache(struct rpc_auth *, struct auth_cred *, int);
+void                   rpcauth_init_cred(struct rpc_cred *, const struct auth_cred *, struct rpc_auth *, const struct rpc_credops *);
 struct rpc_cred *      rpcauth_lookupcred(struct rpc_auth *, int);
 struct rpc_cred *      rpcauth_bindcred(struct rpc_task *);
 void                   rpcauth_holdcred(struct rpc_task *);