yppush_extern.h (22997) | yppush_extern.h (50479) |
---|---|
1/* 2 * Copyright (c) 1995 3 * Bill Paul <wpaul@ctr.columbia.edu>. 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 --- 15 unchanged lines hidden (view full) --- 24 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30 * SUCH DAMAGE. 31 * | 1/* 2 * Copyright (c) 1995 3 * Bill Paul <wpaul@ctr.columbia.edu>. 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 --- 15 unchanged lines hidden (view full) --- 24 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30 * SUCH DAMAGE. 31 * |
32 * $Id$ | 32 * $FreeBSD: head/usr.sbin/yppush/yppush_extern.h 50479 1999-08-28 01:35:59Z peter $ |
33 */ 34 35/* Privately defined error codes. */ 36#define YPPUSH_TIMEDOUT 255 /* Timed out trying to talk to ypserv */ 37#define YPPUSH_NOHOST 254 /* No such host */ 38#define YPPUSH_YPSERV 252 /* Failed to contact ypserv. */ 39#define YPPUSH_PMAP 251 /* Portmapper failure. */ 40#ifndef YPPUSH_RESPONSE_TIMEOUT 41#define YPPUSH_RESPONSE_TIMEOUT 5*60 42#endif 43extern int _rpc_dtablesize __P((void)); 44extern void yppush_xfrrespprog_1 __P(( struct svc_req *, SVCXPRT * )); | 33 */ 34 35/* Privately defined error codes. */ 36#define YPPUSH_TIMEDOUT 255 /* Timed out trying to talk to ypserv */ 37#define YPPUSH_NOHOST 254 /* No such host */ 38#define YPPUSH_YPSERV 252 /* Failed to contact ypserv. */ 39#define YPPUSH_PMAP 251 /* Portmapper failure. */ 40#ifndef YPPUSH_RESPONSE_TIMEOUT 41#define YPPUSH_RESPONSE_TIMEOUT 5*60 42#endif 43extern int _rpc_dtablesize __P((void)); 44extern void yppush_xfrrespprog_1 __P(( struct svc_req *, SVCXPRT * )); |