47#include <rpcsvc/yp_prot.h>
48#include <rpcsvc/ypclnt.h>
72static int __yp_nomap = 0;
75#define RPCDB "/etc/rpc"
106 if (!__yp_nomap && _yp_check(&
d->domain)) {
108 reason = yp_match(
d->domain,
"rpc.bynumber", adrstr,
strlen(adrstr),
109 &
d->current, &
d->currentlen);
121 d->current[
d->currentlen] =
'\0';
171 if (!__yp_nomap && _yp_check(
NULL)) {
195 if (!__yp_nomap && _yp_check(
NULL)) {
196 if (
d->current && !
d->stayopen)
204 if (
d->rpcf && !
d->stayopen) {
224 if (!__yp_nomap && _yp_check(&
d->domain)) {
225 if (
d->current ==
NULL &&
d->currentlen == 0) {
226 reason = yp_first(
d->domain,
"rpc.bynumber",
227 &
d->current, &
d->currentlen,
230 reason = yp_next(
d->domain,
"rpc.bynumber",
231 d->current,
d->currentlen,
232 &
d->current, &
d->currentlen,
289 d->rpc.r_name =
d->line;
290 while (*
cp ==
' ' || *
cp ==
'\t')
293 q =
d->rpc.r_aliases =
d->rpc_aliases;
298 if (*
cp ==
' ' || *
cp ==
'\t') {
static WCHAR reason[MAX_STRING_RESOURCE_LEN]
int CDECL fclose(FILE *file)
char *CDECL fgets(char *s, int size, FILE *file)
FILE *CDECL fopen(const char *path, const char *mode)
void CDECL rewind(FILE *file)
_ACRTIMP int __cdecl atoi(const char *)
_ACRTIMP size_t __cdecl strlen(const char *)
_ACRTIMP int __cdecl strcmp(const char *, const char *)
_ACRTIMP char *__cdecl strpbrk(const char *, const char *)
static struct rpcent * interpret(char *val, size_t len)
struct rpcent * getrpcent()
static struct rpcdata * _rpcdata(void)
GLdouble GLdouble GLdouble GLdouble q
struct task_struct * current
static unsigned int number
char * rpc_aliases[MAXALIASES]