/*
 *   COMPONENT_NAME: onchdrs
 *
 *   FUNCTIONS: none
 *
 *   ORIGINS: 24,27
 *
 *
 *   (C) COPYRIGHT International Business Machines Corp. 1988,1993
 *   All Rights Reserved
 *   Licensed Materials - Property of IBM
 *   US Government Users Restricted Rights - Use, duplication or
 *   disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
 */


/*
 * Copyright (c) 1988 by Sun Microsystems, Inc.
 * (#) from SUN 1.4
 * Sun (and any other copyrights) go right hyar
 * 
 */

/* (#)yppasswd.h	1.1 12/13/88 17:47:54 */
/*	(#)yppasswd.h	1.2 88/05/08 4.0NFSSRC SMI	*/

#ifndef _H_rpcsvc_yppasswd
#define _H_rpcsvc_yppasswd

#include <pwd.h>
#include <rpc/xdr.h>

#define YPPASSWDPROG 100009
#define YPPASSWDPROC_UPDATE 1
#define YPPASSWDVERS_ORIG 1
#define YPPASSWDVERS 1

struct yppasswd {
	char *oldpass;		/* old (unencrypted) password */
	struct passwd newpw;	/* new pw structure */
};

#if __cplusplus
extern "C"
#endif
bool_t xdr_yppasswd(XDR *, struct yppasswd *);

#endif /*_H_rpcsvc_yppasswd*/