Merge commit '0dd498c0020c4a0dd34d350b07f97399a475d102'
[unleashed.git] / include / rpcsvc / ypupd.h
blob8f089648a110ad83abcef96ee93613fc7a09c296
1 /*
2 * CDDL HEADER START
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License, Version 1.0 only
6 * (the "License"). You may not use this file except in compliance
7 * with the License.
9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 * or http://www.opensolaris.org/os/licensing.
11 * See the License for the specific language governing permissions
12 * and limitations under the License.
14 * When distributing Covered Code, include this CDDL HEADER in each
15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 * If applicable, add the following below this CDDL HEADER, with the
17 * fields enclosed by brackets "[]" replaced with your own identifying
18 * information: Portions Copyright [yyyy] [name of copyright owner]
20 * CDDL HEADER END
23 * Copyright 1998 Sun Microsystems, Inc. All rights reserved.
24 * Use is subject to license terms.
27 /* Copyright (c) 1983, 1984, 1985, 1986, 1987, 1988, 1989 AT&T */
28 /* All Rights Reserved */
31 * Portions of this source code were derived from Berkeley 4.3 BSD
32 * under license from the Regents of the University of California.
35 #ifndef _RPCSVC_YPUPD_H
36 #define _RPCSVC_YPUPD_H
39 * Please do not edit this file.
40 * It was generated using rpcgen.
43 #include <sys/types.h>
45 #ifdef __cplusplus
46 extern "C" {
47 #endif
50 * Compiled from ypupdate_prot.x using rpcgen
51 * This is NOT source code!
52 * DO NOT EDIT THIS FILE!
54 #define MAXMAPNAMELEN 255
55 #define MAXYPDATALEN 1023
56 #define MAXERRMSGLEN 255
58 #define YPU_PROG ((ulong_t)100028)
59 #define YPU_VERS ((ulong_t)1)
60 #define YPU_CHANGE ((ulong_t)1)
61 extern uint_t *ypu_change_1();
62 #define YPU_INSERT ((ulong_t)2)
63 extern uint_t *ypu_insert_1();
64 #define YPU_DELETE ((ulong_t)3)
65 extern uint_t *ypu_delete_1();
66 #define YPU_STORE ((ulong_t)4)
67 extern uint_t *ypu_store_1();
69 typedef struct {
70 uint_t yp_buf_len;
71 char *yp_buf_val;
72 } yp_buf;
73 bool_t xdr_yp_buf();
75 struct ypupdate_args {
76 char *mapname;
77 yp_buf key;
78 yp_buf datum;
80 typedef struct ypupdate_args ypupdate_args;
81 bool_t xdr_ypupdate_args();
83 struct ypdelete_args {
84 char *mapname;
85 yp_buf key;
87 typedef struct ypdelete_args ypdelete_args;
88 bool_t xdr_ypdelete_args();
90 #ifdef __cplusplus
92 #endif
94 #endif /* _RPCSVC_YPUPD_H */