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
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]
23 * Copyright (c) 2001 by Sun Microsystems, Inc.
24 * All rights reserved.
27 #pragma ident "%Z%%M% %I% %E% SMI"
32 #include <rpcsvc/nis.h>
38 /* Structure used to hide flag/counter from rpcgen */
43 /* Structure used to hide pointers from rpcgen */
48 /* Exported functions */
49 bool_t
xdr_nis_name_abbrev(XDR
*xdrs
, nis_name
*namep
,
51 bool_t
xdr_nis_fetus_object(XDR
*xdrs
, nis_object
*objp
,
53 entry_obj
*makePseudoEntryObj(nis_object
*obj
, entry_obj
*eo
,
55 nis_object
*unmakePseudoEntryObj(entry_obj
*e
, nis_object
*tobj
);
56 void *xdrNisObject(nis_object
*obj
, entry_obj
**ea
, int numEa
,
58 nis_object
*unXdrNisObject(void *buf
, int bufLen
, entry_obj
***eaP
,
60 void freeEntryObjArray(entry_obj
**ea
, int numEa
);
61 bool_t
sameNisPlusObj(nis_object
*o1
, nis_object
*o2
);
62 bool_t
sameNisPlusPseudoObj(nis_object
*o1
, entry_obj
*e2
);
66 #endif /* __cplusplus */
68 #endif /* _LDAP_XDR_H */