1
0
Fork 0
pam/modules/pam_unix/yppasswd_xdr.c
Daniel Baumann 82f0236850
Adding upstream version 1.7.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-21 06:53:43 +02:00

36 lines
776 B
C

/*
* Please do not edit this file.
* It was generated using rpcgen.
*/
#include "yppasswd.h"
bool_t
xdr_passwd (XDR *xdrs, xpasswd *objp)
{
if (!xdr_string (xdrs, &objp->pw_name, ~0))
return FALSE;
if (!xdr_string (xdrs, &objp->pw_passwd, ~0))
return FALSE;
if (!xdr_int (xdrs, &objp->pw_uid))
return FALSE;
if (!xdr_int (xdrs, &objp->pw_gid))
return FALSE;
if (!xdr_string (xdrs, &objp->pw_gecos, ~0))
return FALSE;
if (!xdr_string (xdrs, &objp->pw_dir, ~0))
return FALSE;
if (!xdr_string (xdrs, &objp->pw_shell, ~0))
return FALSE;
return TRUE;
}
bool_t
xdr_yppasswd (XDR *xdrs, yppasswd *objp)
{
if (!xdr_string (xdrs, &objp->oldpass, ~0))
return FALSE;
if (!xdr_passwd (xdrs, &objp->newpw))
return FALSE;
return TRUE;
}