45#include <rpc/key_prot.h>
46#include <rpcsvc/yp_prot.h>
47#include <rpcsvc/ypclnt.h>
51#define PKFILE "/etc/publickey"
66 char lookup[3 * HEXKEYBYTES];
69 if (publickey ==
NULL)
79 publickey[HEXKEYBYTES] =
'\0';
110 else if (
res[0] ==
'+') {
112 char *PKMAP =
"publickey.byname";
138"Bad record in %s '+' -- NIS not supported in this library copy\n",
PKFILE);
143 mkey = strsep(&
res,
"\t ");
150 mval = strsep(&
res,
" \t#\n");
151 }
while (mval !=
NULL && !*mval);
154 "Bad record in %s val problem - %s",
PKFILE,
buf);
int CDECL fclose(FILE *file)
int WINAPIV fprintf(FILE *file, const char *format,...)
char *CDECL fgets(char *s, int size, FILE *file)
FILE *CDECL fopen(const char *path, const char *mode)
_ACRTIMP char *__cdecl strchr(const char *, int)
_ACRTIMP size_t __cdecl strlen(const char *)
_ACRTIMP int __cdecl strcmp(const char *, const char *)
unsigned int(__cdecl typeof(jpeg_read_scanlines))(struct jpeg_decompress_struct *
static const ULONG lookup[16]
int __getpublickey_real(char *netname, char *publickey)
int(* __getpublickey_LOCAL)()=0
int getpublicandprivatekey(char *key, char *ret)
int getpublickey(char *netname, char *publickey) const
GLenum GLuint GLenum GLsizei const GLchar * buf