version 1.7, 1997/07/13 20:28:11 |
version 1.8, 1997/07/21 14:09:26 |
|
|
__RCSID("$NetBSD$"); |
__RCSID("$NetBSD$"); |
#endif |
#endif |
|
|
|
#include "namespace.h" |
#include <stdlib.h> |
#include <stdlib.h> |
#include <string.h> |
#include <string.h> |
#include <rpc/rpc.h> |
#include <rpc/rpc.h> |
Line 46 __RCSID("$NetBSD$"); |
|
Line 47 __RCSID("$NetBSD$"); |
|
extern struct timeval _yplib_timeout; |
extern struct timeval _yplib_timeout; |
extern int _yplib_nerrs; |
extern int _yplib_nerrs; |
|
|
|
#ifdef __weak_alias |
|
__weak_alias(yp_first,_yp_first); |
|
__weak_alias(yp_next,_yp_next); |
|
#endif |
|
|
int |
int |
yp_first(indomain, inmap, outkey, outkeylen, outval, outvallen) |
yp_first(indomain, inmap, outkey, outkeylen, outval, outvallen) |
const char *indomain; |
const char *indomain; |
|
|
} |
} |
} |
} |
xdr_free(xdr_ypresp_key_val, (char *) &yprkv); |
xdr_free(xdr_ypresp_key_val, (char *) &yprkv); |
_yp_unbind(ysd); |
__yp_unbind(ysd); |
if (r != 0) { |
if (r != 0) { |
if (*outkey) { |
if (*outkey) { |
free(*outkey); |
free(*outkey); |
|
|
} |
} |
} |
} |
xdr_free(xdr_ypresp_key_val, (char *) &yprkv); |
xdr_free(xdr_ypresp_key_val, (char *) &yprkv); |
_yp_unbind(ysd); |
__yp_unbind(ysd); |
if (r != 0) { |
if (r != 0) { |
if (*outkey) { |
if (*outkey) { |
free(*outkey); |
free(*outkey); |