Back to index

glibc  2.9
Functions
pmap_prot.c File Reference
#include <rpc/types.h>
#include <rpc/xdr.h>
#include <rpc/pmap_prot.h>

Go to the source code of this file.

Functions

bool_t xdr_pmap (XDR *xdrs, struct pmap *regs)

Function Documentation

bool_t xdr_pmap ( XDR xdrs,
struct pmap regs 
)

Definition at line 47 of file pmap_prot.c.

{

  if (INTUSE(xdr_u_long) (xdrs, &regs->pm_prog) &&
      INTUSE(xdr_u_long) (xdrs, &regs->pm_vers) &&
      INTUSE(xdr_u_long) (xdrs, &regs->pm_prot))
    return INTUSE(xdr_u_long) (xdrs, &regs->pm_port);
  return FALSE;
}

Here is the call graph for this function:

Here is the caller graph for this function: