version 1.7, 1997/07/13 20:28:13 |
version 1.8, 1997/07/21 14:09:28 |
|
|
__RCSID("$NetBSD$"); |
__RCSID("$NetBSD$"); |
#endif |
#endif |
|
|
|
#include "namespace.h" |
#include <string.h> |
#include <string.h> |
#include <stdlib.h> |
#include <stdlib.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_master,_yp_master); |
|
#endif |
|
|
int |
int |
yp_master(indomain, inmap, outname) |
yp_master(indomain, inmap, outname) |
const char *indomain; |
const char *indomain; |
|
|
r = YPERR_RESRC; |
r = YPERR_RESRC; |
} |
} |
xdr_free(xdr_ypresp_master, (char *) &yprm); |
xdr_free(xdr_ypresp_master, (char *) &yprm); |
_yp_unbind(ysd); |
__yp_unbind(ysd); |
if (r != 0) { |
if (r != 0) { |
if (*outname) { |
if (*outname) { |
free(*outname); |
free(*outname); |