Lines Matching refs:auth
1 /* $NetBSD: auth.h,v 1.15 2000/06/02 22:57:55 fvdl Exp $ */
30 * from: @(#)auth.h 1.17 88/02/08 SMI
31 * from: @(#)auth.h 2.3 88/08/07 4.0 RPCSRC
32 * from: @(#)auth.h 1.43 98/02/02 SMI
33 * $FreeBSD: releng/10.2/include/rpc/auth.h 261046 2014-01-22 23:45:27Z mav $
37 * auth.h, Authentication interface.
170 enum_t oa_flavor; /* flavor of auth */
171 caddr_t oa_base; /* address of more auth stuff */
201 * The ops and the auth handle provide the interface to the authenticators.
203 * AUTH *auth;
207 #define AUTH_NEXTVERF(auth) \
208 ((*((auth)->ah_ops->ah_nextverf))(auth))
209 #define auth_nextverf(auth) \
210 ((*((auth)->ah_ops->ah_nextverf))(auth))
212 #define AUTH_MARSHALL(auth, xdrs) \
213 ((*((auth)->ah_ops->ah_marshal))(auth, xdrs))
214 #define auth_marshall(auth, xdrs) \
215 ((*((auth)->ah_ops->ah_marshal))(auth, xdrs))
217 #define AUTH_VALIDATE(auth, verfp) \
218 ((*((auth)->ah_ops->ah_validate))((auth), verfp))
219 #define auth_validate(auth, verfp) \
220 ((*((auth)->ah_ops->ah_validate))((auth), verfp))
222 #define AUTH_REFRESH(auth, msg) \
223 ((*((auth)->ah_ops->ah_refresh))(auth, msg))
224 #define auth_refresh(auth, msg) \
225 ((*((auth)->ah_ops->ah_refresh))(auth, msg))
227 #define AUTH_DESTROY(auth) \
228 ((*((auth)->ah_ops->ah_destroy))(auth))
229 #define auth_destroy(auth) \
230 ((*((auth)->ah_ops->ah_destroy))(auth))
362 * Pseudo auth flavors for RPCSEC_GSS.