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') {
int strcmp(const char *String1, const char *String2)
ACPI_SIZE strlen(const char *String)
char * strncpy(char *DstString, const char *SrcString, ACPI_SIZE Count)
char * strpbrk(const char *String, const char *Delimiters)
static WCHAR reason[MAX_STRING_RESOURCE_LEN]
static struct rpcent * interpret(char *val, size_t len)
struct rpcent * getrpcent()
static struct rpcdata * _rpcdata(void)
GLdouble GLdouble GLdouble GLdouble q
_CRTIMP void __cdecl rewind(_Inout_ FILE *_File)
_Check_return_ _CRTIMP FILE *__cdecl fopen(_In_z_ const char *_Filename, _In_z_ const char *_Mode)
_Check_return_opt_ _CRTIMP char *__cdecl fgets(_Out_writes_z_(_MaxCount) char *_Buf, _In_ int _MaxCount, _Inout_ FILE *_File)
_Check_return_opt_ _CRTIMP int __cdecl fclose(_Inout_ FILE *_File)
_Check_return_ int __cdecl atoi(_In_z_ const char *_Str)
struct task_struct * current
#define sprintf(buf, format,...)
static unsigned int number
char * rpc_aliases[MAXALIASES]