Update.
[glibc.git] / nis / nis_cache2_xdr.c
blobcaa3964bcadf985f26c39b0a884516525f25d10c
1 /*
2 * Please do not edit this file.
3 * It was generated using rpcgen.
4 */
6 #include <rpc/types.h>
7 #include <rpc/xdr.h>
8 #include <rpcsvc/nis.h>
10 #include "nis_xdr.h"
11 #include "nis_cache2.h"
14 bool_t
15 xdr_fs_result(XDR *xdrs, fs_result *objp)
17 if (!_xdr_nis_error(xdrs, &objp->status)) {
18 return FALSE;
20 if (!xdr_long(xdrs, &objp->class)) {
21 return FALSE;
23 if (!xdr_bytes(xdrs, (char **)&objp->dir_data.dir_data_val, (u_int *)&objp->dir_data.dir_data_len, ~0)) {
24 return FALSE;
26 if (!xdr_long(xdrs, &objp->server_used)) {
27 return FALSE;
29 if (!xdr_long(xdrs, &objp->current_ep)) {
30 return FALSE;
32 return TRUE;
35 bool_t
36 xdr_fs_request(XDR *xdrs, fs_request *objp)
38 if (!_xdr_nis_name(xdrs, &objp->name)) {
39 return FALSE;
41 if (!xdr_long(xdrs, &objp->old_class)) {
42 return FALSE;
44 return TRUE;