1 1.9 perry /* $NetBSD: svc_auth.h,v 1.9 2005/02/03 04:39:32 perry Exp $ */ 2 1.4 cgd 3 1.1 deraadt /* 4 1.1 deraadt * Sun RPC is a product of Sun Microsystems, Inc. and is provided for 5 1.1 deraadt * unrestricted use provided that this legend is included on all tape 6 1.1 deraadt * media and as a part of the software program in whole or part. Users 7 1.1 deraadt * may copy or modify Sun RPC without charge, but are not authorized 8 1.1 deraadt * to license or distribute it to anyone else except as part of a product or 9 1.1 deraadt * program developed by the user. 10 1.1 deraadt * 11 1.1 deraadt * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE 12 1.1 deraadt * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR 13 1.1 deraadt * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. 14 1.1 deraadt * 15 1.1 deraadt * Sun RPC is provided with no support and without any obligation on the 16 1.1 deraadt * part of Sun Microsystems, Inc. to assist in its use, correction, 17 1.1 deraadt * modification or enhancement. 18 1.1 deraadt * 19 1.1 deraadt * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE 20 1.1 deraadt * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC 21 1.1 deraadt * OR ANY PART THEREOF. 22 1.1 deraadt * 23 1.1 deraadt * In no event will Sun Microsystems, Inc. be liable for any lost revenue 24 1.1 deraadt * or profits or other special, indirect and consequential damages, even if 25 1.1 deraadt * Sun has been advised of the possibility of such damages. 26 1.1 deraadt * 27 1.1 deraadt * Sun Microsystems, Inc. 28 1.1 deraadt * 2550 Garcia Avenue 29 1.1 deraadt * Mountain View, California 94043 30 1.3 mycroft * 31 1.3 mycroft * from: @(#)svc_auth.h 1.6 86/07/16 SMI 32 1.4 cgd * @(#)svc_auth.h 2.1 88/07/29 4.0 RPCSRC 33 1.1 deraadt */ 34 1.1 deraadt 35 1.1 deraadt /* 36 1.7 lukem * svc_auth.h, Service side of rpc authentication. 37 1.1 deraadt * 38 1.1 deraadt * Copyright (C) 1984, Sun Microsystems, Inc. 39 1.1 deraadt */ 40 1.1 deraadt 41 1.5 perry #ifndef _RPC_SVC_AUTH_H_ 42 1.5 perry #define _RPC_SVC_AUTH_H_ 43 1.1 deraadt 44 1.1 deraadt /* 45 1.1 deraadt * Server side authenticator 46 1.1 deraadt */ 47 1.2 brezak __BEGIN_DECLS 48 1.9 perry extern enum auth_stat _authenticate(struct svc_req *, struct rpc_msg *); 49 1.9 perry extern int svc_auth_reg(int, enum auth_stat (*)(struct svc_req *, 50 1.9 perry struct rpc_msg *)); 51 1.8 fvdl 52 1.2 brezak __END_DECLS 53 1.2 brezak 54 1.5 perry #endif /* !_RPC_SVC_AUTH_H_ */ 55