2 * Please do not edit this file.
3 * It was generated using rpcgen.
6 #ifndef _YPUPDATE_PROT_H_RPCGEN
7 #define _YPUPDATE_PROT_H_RPCGEN
16 * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
17 * unrestricted use provided that this legend is included on all tape
18 * media and as a part of the software program in whole or part. Users
19 * may copy or modify Sun RPC without charge, but are not authorized
20 * to license or distribute it to anyone else except as part of a product or
21 * program developed by the user or with the express written consent of
22 * Sun Microsystems, Inc.
24 * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
25 * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
26 * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
28 * Sun RPC is provided with no support and without any obligation on the
29 * part of Sun Microsystems, Inc. to assist in its use, correction,
30 * modification or enhancement.
32 * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
33 * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
34 * OR ANY PART THEREOF.
36 * In no event will Sun Microsystems, Inc. be liable for any lost revenue
37 * or profits or other special, indirect and consequential damages, even if
38 * Sun has been advised of the possibility of such damages.
40 * Sun Microsystems, Inc.
42 * Mountain View, California 94043
44 * from @(#)ypupdate_prot.x 1.3 91/03/11 TIRPC 1.0
45 * $FreeBSD: src/include/rpcsvc/ypupdate_prot.x,v 1.3 1999/08/27 23:45:13 peter Exp $
46 * $DragonFly: src/include/rpcsvc/ypupdate_prot.x,v 1.2 2003/06/17 04:25:58 dillon Exp $
49 * Copyright (c) 1986, 1990 by Sun Microsystems, Inc.
53 * Compiled from ypupdate_prot.x using rpcgen
54 * This is NOT source code!
55 * DO NOT EDIT THIS FILE!
58 #ifndef _rpcsvc_ypupdate_prot_h
59 #define _rpcsvc_ypupdate_prot_h
61 #define MAXMAPNAMELEN 255
62 #define MAXYPDATALEN 1023
63 #define MAXERRMSGLEN 255
70 struct ypupdate_args {
75 typedef struct ypupdate_args ypupdate_args;
77 struct ypdelete_args {
81 typedef struct ypdelete_args ypdelete_args;
83 #endif /* !_rpcsvc_ypupdate_prot_h */
85 #define YPU_PROG ((unsigned long)(100028))
86 #define YPU_VERS ((unsigned long)(1))
88 extern void ypu_prog_1(struct svc_req *rqstp, SVCXPRT *transp);
89 #define YPU_CHANGE ((unsigned long)(1))
90 extern u_int * ypu_change_1(ypupdate_args *, CLIENT *);
91 extern u_int * ypu_change_1_svc(ypupdate_args *, struct svc_req *);
92 #define YPU_INSERT ((unsigned long)(2))
93 extern u_int * ypu_insert_1(ypupdate_args *, CLIENT *);
94 extern u_int * ypu_insert_1_svc(ypupdate_args *, struct svc_req *);
95 #define YPU_DELETE ((unsigned long)(3))
96 extern u_int * ypu_delete_1(ypdelete_args *, CLIENT *);
97 extern u_int * ypu_delete_1_svc(ypdelete_args *, struct svc_req *);
98 #define YPU_STORE ((unsigned long)(4))
99 extern u_int * ypu_store_1(ypupdate_args *, CLIENT *);
100 extern u_int * ypu_store_1_svc(ypupdate_args *, struct svc_req *);
101 extern int ypu_prog_1_freeresult(SVCXPRT *, xdrproc_t, caddr_t);
103 /* the xdr functions */
104 extern bool_t xdr_yp_buf(XDR *, yp_buf*);
105 extern bool_t xdr_ypupdate_args(XDR *, ypupdate_args*);
106 extern bool_t xdr_ypdelete_args(XDR *, ypdelete_args*);
112 #endif /* !_YPUPDATE_PROT_H_RPCGEN */