Home
last modified time | relevance | path

Searched refs:xdrsp (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/librpcsvc/common/
H A Drusersxdr.c45 xdr_ru_utmp(xdrsp, up) in xdr_ru_utmp() argument
46 XDR *xdrsp; in xdr_ru_utmp()
59 if (xdr_u_int(xdrsp, &len) == FALSE)
64 if (!xdr_opaque(xdrsp, (char *)up->ut_line, len)) {
68 if (xdr_u_int(xdrsp, &len) == FALSE)
73 if (!xdr_opaque(xdrsp, (char *)up->ut_name, len)) {
77 if (xdr_u_int(xdrsp, &len) == FALSE)
82 if (!xdr_opaque(xdrsp, (char *)up->ut_host, len)) {
85 if (xdr_int(xdrsp, (int32_t *) &up->ut_time) == FALSE)
91 xdr_utmpidle(xdrsp, ui) in xdr_utmpidle() argument
[all …]
/illumos-gate/usr/src/lib/libnsl/yp/
H A Dyppasswd_xdr.c33 xdr_passwd(XDR *xdrsp, struct passwd *pw) in xdr_passwd() argument
35 if (!xdr_wrapstring(xdrsp, &pw->pw_name)) in xdr_passwd()
37 if (!xdr_wrapstring(xdrsp, &pw->pw_passwd)) in xdr_passwd()
39 if (!xdr_int(xdrsp, (int *)&pw->pw_uid)) in xdr_passwd()
41 if (!xdr_int(xdrsp, (int *)&pw->pw_gid)) in xdr_passwd()
43 if (!xdr_wrapstring(xdrsp, &pw->pw_gecos)) in xdr_passwd()
45 if (!xdr_wrapstring(xdrsp, &pw->pw_dir)) in xdr_passwd()
47 return (xdr_wrapstring(xdrsp, &pw->pw_shell)); in xdr_passwd()
51 xdr_yppasswd(XDR *xdrsp, struct yppasswd *pp) in xdr_yppasswd() argument
53 if (!xdr_wrapstring(xdrsp, &pp->oldpass)) in xdr_yppasswd()
[all …]