GCC Code Coverage Report
Directory: ./ Exec Total Coverage
File: lib/librpcsvc/spray.c Lines: 0 14 0.0 %
Date: 2017-11-07 Branches: 0 10 0.0 %

Line Branch Exec Source
1
/*
2
 * Please do not edit this file.
3
 * It was generated using rpcgen.
4
 */
5
6
#include "spray.h"
7
8
bool_t
9
xdr_spraytimeval(XDR *xdrs, spraytimeval *objp)
10
{
11
12
13
	if (!xdr_u_int(xdrs, &objp->sec))
14
		return (FALSE);
15
	if (!xdr_u_int(xdrs, &objp->usec))
16
		return (FALSE);
17
	return (TRUE);
18
}
19
20
bool_t
21
xdr_spraycumul(XDR *xdrs, spraycumul *objp)
22
{
23
24
25
	if (!xdr_u_int(xdrs, &objp->counter))
26
		return (FALSE);
27
	if (!xdr_spraytimeval(xdrs, &objp->clock))
28
		return (FALSE);
29
	return (TRUE);
30
}
31
32
bool_t
33
xdr_sprayarr(XDR *xdrs, sprayarr *objp)
34
{
35
36
	if (!xdr_bytes(xdrs, (char **)&objp->sprayarr_val,
37
	    (u_int *)&objp->sprayarr_len,
38
	    SPRAYMAX))
39
		return (FALSE);
40
	return (TRUE);
41
}