32 #ifndef _RPCSVC_YPCLNT_H_ 33 #define _RPCSVC_YPCLNT_H_ 35 #include <sys/cdefs.h> 37 #define YPERR_BADARGS 1 39 #define YPERR_DOMAIN 3 44 #define YPERR_NOMORE 8 46 #define YPERR_YPBIND 10 47 #define YPERR_YPSERV 11 48 #define YPERR_NODOM 12 49 #define YPERR_BADDB 13 51 #define YPERR_ACCESS 15 64 int (*
foreach) (
unsigned long,
char *, int,
char *, int,
void *);
71 int yp_bind (
char *dom);
72 int _yp_dobind (
char *dom,
struct dom_binding **ypdb);
73 void yp_unbind (
char *dom);
74 int yp_get_default_domain (
char **domp);
75 int yp_match (
char *indomain,
char *inmap,
76 const char *inkey,
int inkeylen,
char **outval,
78 int yp_first (
char *indomain,
char *inmap,
79 char **outkey,
int *outkeylen,
char **outval,
81 int yp_next (
char *indomain,
char *inmap,
82 char *inkey,
int inkeylen,
char **outkey,
83 int *outkeylen,
char **outval,
int *outvallen);
84 int yp_master (
char *indomain,
char *inmap,
char **outname);
85 int yp_order (
char *indomain,
char *inmap,
int *outorder);
86 int yp_all (
char *indomain,
char *inmap,
88 char * yperr_string (
int incode);
89 char * ypbinderr_string (
int incode);
90 int ypprot_err (
unsigned int incode);
Definition: yp_prot.h:199