3 * Copyright 1994, 1995, 1996 Olaf Kirch, <okir@monad.swb.de>
5 * This program is covered by the GNU General Public License, version 2.
6 * It is provided in the hope that it is useful. However, the author
7 * disclaims ALL WARRANTIES, expressed or implied. See the GPL for details.
9 * This file was generated automatically by rpcgen from yppasswd.x, and
11 * $FreeBSD: src/contrib/libpam/modules/pam_unix/yppasswd.h,v 1.1.1.1.2.2 2001/06/11 15:28:30 markm Exp $
17 #define YPPASSWDPROG ((u_long)100009)
18 #define YPPASSWDVERS ((u_long)1)
19 #define YPPASSWDPROC_UPDATE ((u_long)1)
22 * The password struct passed by the update call. I renamed it to
23 * xpasswd to avoid a type clash with the one defined in <pwd.h>.
26 typedef struct xpasswd {
38 typedef struct xpasswd xpasswd;
41 /* The updated password information, plus the old password.
43 typedef struct yppasswd {
48 /* XDR encoding/decoding routines */
49 bool_t xdr_xpasswd(XDR * xdrs, xpasswd * objp);
50 bool_t xdr_yppasswd(XDR * xdrs, yppasswd * objp);
52 #endif /* _YPPASSWD_H_ */