Home | History | Annotate | Download | only in rpcsvc
      1  0  stevel /*
      2  0  stevel  * CDDL HEADER START
      3  0  stevel  *
      4  0  stevel  * The contents of this file are subject to the terms of the
      5  0  stevel  * Common Development and Distribution License, Version 1.0 only
      6  0  stevel  * (the "License").  You may not use this file except in compliance
      7  0  stevel  * with the License.
      8  0  stevel  *
      9  0  stevel  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
     10  0  stevel  * or http://www.opensolaris.org/os/licensing.
     11  0  stevel  * See the License for the specific language governing permissions
     12  0  stevel  * and limitations under the License.
     13  0  stevel  *
     14  0  stevel  * When distributing Covered Code, include this CDDL HEADER in each
     15  0  stevel  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
     16  0  stevel  * If applicable, add the following below this CDDL HEADER, with the
     17  0  stevel  * fields enclosed by brackets "[]" replaced with your own identifying
     18  0  stevel  * information: Portions Copyright [yyyy] [name of copyright owner]
     19  0  stevel  *
     20  0  stevel  * CDDL HEADER END
     21  0  stevel  */
     22  0  stevel /*
     23  0  stevel  * Copyright (c) 1985 by Sun Microsystems, Inc.
     24  0  stevel  *
     25  0  stevel  */
     26  0  stevel 
     27  0  stevel 
     28  0  stevel #ifndef _RPCSVC_YPPASSWD_H
     29  0  stevel #define	_RPCSVC_YPPASSWD_H
     30  0  stevel 
     31  0  stevel #pragma ident	"%Z%%M%	%I%	%E% SMI"
     32  0  stevel 
     33  0  stevel #ifndef _PWD_H
     34  0  stevel #include <pwd.h>
     35  0  stevel #endif
     36  0  stevel 
     37  0  stevel #ifdef	__cplusplus
     38  0  stevel extern "C" {
     39  0  stevel #endif
     40  0  stevel 
     41  0  stevel #define	YPPASSWDPROG ((rpcprog_t)100009)
     42  0  stevel #define	YPPASSWDVERS ((rpcvers_t)1)
     43  0  stevel #define	YPPASSWDPROC_UPDATE ((rpcproc_t)1)
     44  0  stevel 
     45  0  stevel struct yppasswd {
     46  0  stevel 	char *oldpass;		/* old (unencrypted) password */
     47  0  stevel 	struct passwd newpw;	/* new pw structure */
     48  0  stevel };
     49  0  stevel 
     50  0  stevel int xdr_yppasswd();
     51  0  stevel 
     52  0  stevel #ifdef	__cplusplus
     53  0  stevel }
     54  0  stevel #endif
     55  0  stevel 
     56  0  stevel #endif	/* !_RPCSVC_YPPASSWD_H */
     57