ypclnt.h (93032) | ypclnt.h (95658) |
---|---|
1/* 2 * Copyright (c) 1992/3 Theo de Raadt <deraadt@fsa.ca> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 12 unchanged lines hidden (view full) --- 21 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * | 1/* 2 * Copyright (c) 1992/3 Theo de Raadt <deraadt@fsa.ca> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 12 unchanged lines hidden (view full) --- 21 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * |
29 * $FreeBSD: head/include/rpcsvc/ypclnt.h 93032 2002-03-23 17:24:55Z imp $ | 29 * $FreeBSD: head/include/rpcsvc/ypclnt.h 95658 2002-04-28 15:18:50Z des $ |
30 */ 31 32#ifndef _RPCSVC_YPCLNT_H_ 33#define _RPCSVC_YPCLNT_H_ 34 35#include <sys/cdefs.h> 36 37#define YPERR_BADARGS 1 /* args to function are bad */ --- 38 unchanged lines hidden (view full) --- 76 char **outval, int *outvallen); 77int yp_first(char *indomain, char *inmap, char **outkey, int *outkeylen, 78 char **outval, int *outvallen); 79int yp_next(char *indomain, char *inmap, char *inkey, int inkeylen, 80 char **outkey, int *outkeylen, char **outval, int *outvallen); 81int yp_master(char *indomain, char *inmap, char **outname); 82int yp_order(char *indomain, char *inmap, int *outorder); 83int yp_all(char *indomain, char *inmap, struct ypall_callback *incallback); | 30 */ 31 32#ifndef _RPCSVC_YPCLNT_H_ 33#define _RPCSVC_YPCLNT_H_ 34 35#include <sys/cdefs.h> 36 37#define YPERR_BADARGS 1 /* args to function are bad */ --- 38 unchanged lines hidden (view full) --- 76 char **outval, int *outvallen); 77int yp_first(char *indomain, char *inmap, char **outkey, int *outkeylen, 78 char **outval, int *outvallen); 79int yp_next(char *indomain, char *inmap, char *inkey, int inkeylen, 80 char **outkey, int *outkeylen, char **outval, int *outvallen); 81int yp_master(char *indomain, char *inmap, char **outname); 82int yp_order(char *indomain, char *inmap, int *outorder); 83int yp_all(char *indomain, char *inmap, struct ypall_callback *incallback); |
84char * yperr_string(int incode); 85char * ypbinderr_string(int incode); | 84const char *yperr_string(int incode); 85const char *ypbinderr_string(int incode); |
86int ypprot_err(unsigned int incode); 87__END_DECLS 88 89#endif /* _RPCSVC_YPCLNT_H_ */ 90 | 86int ypprot_err(unsigned int incode); 87__END_DECLS 88 89#endif /* _RPCSVC_YPCLNT_H_ */ 90 |