|
@@ -106,6 +106,8 @@ struct rpc_authops {
|
|
void (*pipes_destroy)(struct rpc_auth *);
|
|
void (*pipes_destroy)(struct rpc_auth *);
|
|
int (*list_pseudoflavors)(rpc_authflavor_t *, int);
|
|
int (*list_pseudoflavors)(rpc_authflavor_t *, int);
|
|
rpc_authflavor_t (*info2flavor)(struct rpcsec_gss_info *);
|
|
rpc_authflavor_t (*info2flavor)(struct rpcsec_gss_info *);
|
|
|
|
+ int (*flavor2info)(rpc_authflavor_t,
|
|
|
|
+ struct rpcsec_gss_info *);
|
|
};
|
|
};
|
|
|
|
|
|
struct rpc_credops {
|
|
struct rpc_credops {
|
|
@@ -142,6 +144,8 @@ struct rpc_auth * rpcauth_create(rpc_authflavor_t, struct rpc_clnt *);
|
|
void rpcauth_release(struct rpc_auth *);
|
|
void rpcauth_release(struct rpc_auth *);
|
|
rpc_authflavor_t rpcauth_get_pseudoflavor(rpc_authflavor_t,
|
|
rpc_authflavor_t rpcauth_get_pseudoflavor(rpc_authflavor_t,
|
|
struct rpcsec_gss_info *);
|
|
struct rpcsec_gss_info *);
|
|
|
|
+int rpcauth_get_gssinfo(rpc_authflavor_t,
|
|
|
|
+ struct rpcsec_gss_info *);
|
|
int rpcauth_list_flavors(rpc_authflavor_t *, int);
|
|
int rpcauth_list_flavors(rpc_authflavor_t *, int);
|
|
struct rpc_cred * rpcauth_lookup_credcache(struct rpc_auth *, struct auth_cred *, int);
|
|
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 *);
|
|
void rpcauth_init_cred(struct rpc_cred *, const struct auth_cred *, struct rpc_auth *, const struct rpc_credops *);
|