6811333 Remove prom_printf() message in emlxs driver
[opensolaris.git] / usr / src / lib / libnisdb / ldap_nisplus.h
blobba42302bbb407b2294c7e77f98f2402d48ce390f
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 (c) 2001 by Sun Microsystems, Inc.
24 * All rights reserved.
27 #pragma ident "%Z%%M% %I% %E% SMI"
29 #ifndef _LDAP_NISPLUS_H
30 #define _LDAP_NISPLUS_H
32 #include <rpcsvc/nis.h>
33 #include "ldap_parse.h"
34 #include "ldap_structs.h"
37 #ifdef __cplusplus
38 extern "C" {
39 #endif
41 __nis_rule_value_t *getNisPlusEntry(__nis_index_t *index, char *table,
42 __nis_rule_value_t *rvIn, int *numVals);
43 __nis_rule_value_t *getNisPlusEntrySimple(char *name, int *numVals);
44 int getNisPlusObj(char *name, char *msg,
45 nis_result **outRes);
46 __nis_value_t *lookupNisPlus(__nis_obj_spec_t *obj, char *col,
47 __nis_rule_value_t *rvIn);
48 nis_error storeNisPlus(__nis_mapping_item_t *item, int index,
49 int numItems, __nis_rule_value_t *rv,
50 char *table, __nis_value_t *val);
51 int copyColumnNames(nis_object *o, char ***column,
52 int *numColumns);
53 int initializeColumnNames(char *table, char ***column,
54 int *numColumns, zotypes *type,
55 nis_object **obj);
56 void setOid(nis_object *obj);
58 #ifdef __cplusplus
60 #endif /* __cplusplus */
62 #endif /* _LDAP_NISPLUS_H */