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 strcmp(const char *String1, const char *String2)
ACPI_SIZE strlen(const char *String)
char * strchr(const char *String, int ch)
unsigned int(__cdecl typeof(jpeg_read_scanlines))(struct jpeg_decompress_struct *
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
_Check_return_opt_ _CRTIMP int __cdecl fprintf(_Inout_ FILE *_File, _In_z_ _Printf_format_string_ const char *_Format,...)
_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)