diff options
Diffstat (limited to 'cpukit/librpc/include/rpcsvc/ypclnt.h')
-rw-r--r-- | cpukit/librpc/include/rpcsvc/ypclnt.h | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/cpukit/librpc/include/rpcsvc/ypclnt.h b/cpukit/librpc/include/rpcsvc/ypclnt.h index edaf191ad1..c429ff7ee0 100644 --- a/cpukit/librpc/include/rpcsvc/ypclnt.h +++ b/cpukit/librpc/include/rpcsvc/ypclnt.h @@ -61,33 +61,33 @@ struct ypall_callback { /* return non-0 to stop getting called */ - int (*foreach) __P((unsigned long, char *, int, char *, int, void *)); + int (*foreach) (unsigned long, char *, int, char *, int, void *); char *data; /* opaque pointer for use of callback fn */ }; struct dom_binding; __BEGIN_DECLS -int yp_bind __P((char *dom)); -int _yp_dobind __P((char *dom, struct dom_binding **ypdb)); -void yp_unbind __P((char *dom)); -int yp_get_default_domain __P((char **domp)); -int yp_match __P((char *indomain, char *inmap, +int yp_bind (char *dom); +int _yp_dobind (char *dom, struct dom_binding **ypdb); +void yp_unbind (char *dom); +int yp_get_default_domain (char **domp); +int yp_match (char *indomain, char *inmap, const char *inkey, int inkeylen, char **outval, - int *outvallen)); -int yp_first __P((char *indomain, char *inmap, + int *outvallen); +int yp_first (char *indomain, char *inmap, char **outkey, int *outkeylen, char **outval, - int *outvallen)); -int yp_next __P((char *indomain, char *inmap, + int *outvallen); +int yp_next (char *indomain, char *inmap, char *inkey, int inkeylen, char **outkey, - int *outkeylen, char **outval, int *outvallen)); -int yp_master __P((char *indomain, char *inmap, char **outname)); -int yp_order __P((char *indomain, char *inmap, int *outorder)); -int yp_all __P((char *indomain, char *inmap, - struct ypall_callback *incallback)); -char * yperr_string __P((int incode)); -char * ypbinderr_string __P((int incode)); -int ypprot_err __P((unsigned int incode)); + int *outkeylen, char **outval, int *outvallen); +int yp_master (char *indomain, char *inmap, char **outname); +int yp_order (char *indomain, char *inmap, int *outorder); +int yp_all (char *indomain, char *inmap, + struct ypall_callback *incallback); +char * yperr_string (int incode); +char * ypbinderr_string (int incode); +int ypprot_err (unsigned int incode); __END_DECLS #endif /* _RPCSVC_YPCLNT_H_ */ |