auth.h (4ccda2cdd8d156b6f49440653d5d6997e0facf97) auth.h (9a559efd4199c9812d339e23cc1b6055366b224f)
1/*
2 * linux/include/linux/sunrpc/auth.h
3 *
4 * Declarations for the RPC client authentication machinery.
5 *
6 * Copyright (C) 1996, Olaf Kirch <okir@monad.swb.de>
7 */
8

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

120 int (*crunwrap_resp)(struct rpc_task *, kxdrproc_t,
121 void *, __be32 *, void *);
122};
123
124extern const struct rpc_authops authunix_ops;
125extern const struct rpc_authops authnull_ops;
126
127void __init rpc_init_authunix(void);
1/*
2 * linux/include/linux/sunrpc/auth.h
3 *
4 * Declarations for the RPC client authentication machinery.
5 *
6 * Copyright (C) 1996, Olaf Kirch <okir@monad.swb.de>
7 */
8

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

120 int (*crunwrap_resp)(struct rpc_task *, kxdrproc_t,
121 void *, __be32 *, void *);
122};
123
124extern const struct rpc_authops authunix_ops;
125extern const struct rpc_authops authnull_ops;
126
127void __init rpc_init_authunix(void);
128void __init rpc_init_generic_auth(void);
128void __init rpcauth_init_module(void);
129void __exit rpcauth_remove_module(void);
129void __init rpcauth_init_module(void);
130void __exit rpcauth_remove_module(void);
131void __exit rpc_destroy_generic_auth(void);
130
132
133struct rpc_cred * rpc_lookup_cred(void);
131int rpcauth_register(const struct rpc_authops *);
132int rpcauth_unregister(const struct rpc_authops *);
133struct rpc_auth * rpcauth_create(rpc_authflavor_t, struct rpc_clnt *);
134void rpcauth_release(struct rpc_auth *);
135struct rpc_cred * rpcauth_lookup_credcache(struct rpc_auth *, struct auth_cred *, int);
136void rpcauth_init_cred(struct rpc_cred *, const struct auth_cred *, struct rpc_auth *, const struct rpc_credops *);
137struct rpc_cred * rpcauth_lookupcred(struct rpc_auth *, int);
138void rpcauth_bindcred(struct rpc_task *, struct rpc_cred *, int);

--- 22 unchanged lines hidden ---
134int rpcauth_register(const struct rpc_authops *);
135int rpcauth_unregister(const struct rpc_authops *);
136struct rpc_auth * rpcauth_create(rpc_authflavor_t, struct rpc_clnt *);
137void rpcauth_release(struct rpc_auth *);
138struct rpc_cred * rpcauth_lookup_credcache(struct rpc_auth *, struct auth_cred *, int);
139void rpcauth_init_cred(struct rpc_cred *, const struct auth_cred *, struct rpc_auth *, const struct rpc_credops *);
140struct rpc_cred * rpcauth_lookupcred(struct rpc_auth *, int);
141void rpcauth_bindcred(struct rpc_task *, struct rpc_cred *, int);

--- 22 unchanged lines hidden ---