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.
33 #include <rpcsvc/nis.h>
35 #include "ldap_parse.h"
37 #include "ldap_ruleval.h"
44 /* Exported functions */
46 void printMappingFormat(__nis_mapping_format_t
*f
);
47 void printMappingFormatArray(__nis_mapping_format_t
*a
);
48 void printIndex(__nis_index_t
*i
);
49 void printObjSpec(__nis_obj_spec_t
*o
);
50 void printMappingItem(__nis_mapping_item_t
*i
,
51 __nis_mapping_item_type_t native
);
52 void printMappingSubElement(__nis_mapping_sub_element_t
*e
,
53 __nis_mapping_item_type_t native
);
54 void printMappingElement(__nis_mapping_element_t
*e
,
55 __nis_mapping_item_type_t native
);
56 void printMappingRLHS(__nis_mapping_rlhs_t
*m
,
57 __nis_mapping_item_type_t native
);
58 void printMappingRule(__nis_mapping_rule_t
*r
,
59 __nis_mapping_item_type_t nativeLhs
,
60 __nis_mapping_item_type_t nativeRhs
);
61 void printObjName(__nis_index_t
*index
, char *name
);
62 void printobjectDN(__nis_object_dn_t
*o
);
63 void printTableMapping(__nis_table_mapping_t
*t
);
64 void printRuleValue(__nis_rule_value_t
*rv
);
65 void printLdapMod(LDAPMod
**mods
, __nis_buffer_t
*b
);
66 void printObjAttr(__nis_obj_attr_t
*attr
);
70 #endif /* __cplusplus */
72 #endif /* _LDAP_PRINT_H */