rpcent
extern struct rpcent *getrpcbyname(const char *);
extern struct rpcent *getrpcbynumber(int);
extern struct rpcent *getrpcent(void);
struct rpcent rpc;
NSS_TLS_HANDLING(rpcent);
static int wrap_getrpcbyname_r(union key, struct rpcent *, char *,
size_t, struct rpcent **);
static int wrap_getrpcbynumber_r(union key, struct rpcent *, char *,
size_t, struct rpcent **);
static int wrap_getrpcent_r(union key, struct rpcent *, char *,
size_t, struct rpcent **);
static struct rpcent *getrpc(int (*fn)(union key, struct rpcent *, char *,
size_t, struct rpcent **), union key);
rpcent_unpack(char *p, struct rpcent *rpc, char **r_aliases,
struct rpcent *rpc;
rpc = va_arg(ap, struct rpcent *);
*((struct rpcent **)retval) = rpc;
struct rpcent *rpc;
rpc = va_arg(ap, struct rpcent *);
*((struct rpcent **)retval) = rpc;
struct rpcent *rpc;
struct rpcent new_rpc;
rpc = va_arg(ap, struct rpcent *);
desired_size = _ALIGNBYTES + sizeof(struct rpcent) + sizeof(char *);
memcpy(&new_rpc, rpc, sizeof(struct rpcent));
p = buffer + sizeof(struct rpcent) + sizeof(char *);
memcpy(buffer + sizeof(struct rpcent), &p, sizeof(char *));
memcpy(buffer, &new_rpc, sizeof(struct rpcent));
struct rpcent *rpc;
rpc = va_arg(ap, struct rpcent *);
buffer_size - sizeof(struct rpcent) - sizeof(char *)) {
memcpy(rpc, buffer, sizeof(struct rpcent));
memcpy(&p, buffer + sizeof(struct rpcent), sizeof(char *));
memcpy(orig_buf, buffer + sizeof(struct rpcent) + sizeof(char *) +
buffer_size - sizeof(struct rpcent) - sizeof(char *) -
*((struct rpcent **)retval) = rpc;
getrpcbyname_r(const char *name, struct rpcent *rpc, char *buffer,
size_t bufsize, struct rpcent **result)
getrpcbynumber_r(int number, struct rpcent *rpc, char *buffer,
size_t bufsize, struct rpcent **result)
getrpcent_r(struct rpcent *rpc, char *buffer, size_t bufsize,
struct rpcent **result)
wrap_getrpcbyname_r(union key key, struct rpcent *rpc, char *buffer,
size_t bufsize, struct rpcent **res)
wrap_getrpcbynumber_r(union key key, struct rpcent *rpc, char *buffer,
size_t bufsize, struct rpcent **res)
wrap_getrpcent_r(union key key __unused, struct rpcent *rpc, char *buffer,
size_t bufsize, struct rpcent **res)
static struct rpcent *
getrpc(int (*fn)(union key, struct rpcent *, char *, size_t, struct rpcent **),
struct rpcent *res;
struct rpcent *
struct rpcent *
struct rpcent *
struct rpcent *re;
struct rpcent *rpc;
struct rpcent *rpc;
struct rpcent *rpc;
struct rpcent *rpc;
struct rpcent *rpc;
struct rpcent *rpc;
struct rpcent *rpc;
struct rpcent *rpc;