#include <sunrpc/rpc/auth_des.h>
+libc_hidden_proto (getpublickey)
+
extern bool_t xdr_authdes_cred (XDR *xdrs, struct authdes_cred *cred);
extern bool_t xdr_authdes_verf (register XDR *xdrs,
register struct authdes_verf *verf);
-#include <sunrpc/rpc/pmap_clnt.h>
+#ifndef _RPC_PMAP_CLNT_H
+# include <sunrpc/rpc/pmap_clnt.h>
+
+libc_hidden_proto (pmap_getport)
+libc_hidden_proto (pmap_set)
+libc_hidden_proto (pmap_unset)
+
+#endif
#ifndef _RPC_SVC_H
#include <sunrpc/rpc/svc.h>
+libc_hidden_proto (xprt_register)
+libc_hidden_proto (xprt_unregister)
+
/* Now define the internal interfaces. */
extern int registerrpc (u_long prognum, u_long versnum, u_long procnum,
char *(*progname) (char *), xdrproc_t inproc,
address->sin_port = 0;
return port;
}
+libc_hidden_def (pmap_getport)
/* (void)close(socket); CLNT_DESTROY closes it */
return rslt;
}
+libc_hidden_def (pmap_set)
/*
* Remove the mapping between program,version and port.
/* (void)close(socket); CLNT_DESTROY already closed it */
return rslt;
}
+libc_hidden_def (pmap_unset)
return status == NSS_STATUS_SUCCESS;
}
+libc_hidden_def (getpublickey)
int
POLLRDNORM | POLLRDBAND);
}
}
+libc_hidden_def (xprt_register)
/* De-activate a transport handle. */
void
svc_pollfd[i].fd = -1;
}
}
+libc_hidden_def (xprt_unregister)
/* ********************** CALLOUT list related stuff ************* */