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