110122SJordan.Brown@Sun.COM /* 210122SJordan.Brown@Sun.COM * CDDL HEADER START 310122SJordan.Brown@Sun.COM * 410122SJordan.Brown@Sun.COM * The contents of this file are subject to the terms of the 510122SJordan.Brown@Sun.COM * Common Development and Distribution License (the "License"). 610122SJordan.Brown@Sun.COM * You may not use this file except in compliance with the License. 710122SJordan.Brown@Sun.COM * 810122SJordan.Brown@Sun.COM * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 910122SJordan.Brown@Sun.COM * or http://www.opensolaris.org/os/licensing. 1010122SJordan.Brown@Sun.COM * See the License for the specific language governing permissions 1110122SJordan.Brown@Sun.COM * and limitations under the License. 1210122SJordan.Brown@Sun.COM * 1310122SJordan.Brown@Sun.COM * When distributing Covered Code, include this CDDL HEADER in each 1410122SJordan.Brown@Sun.COM * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 1510122SJordan.Brown@Sun.COM * If applicable, add the following below this CDDL HEADER, with the 1610122SJordan.Brown@Sun.COM * fields enclosed by brackets "[]" replaced with your own identifying 1710122SJordan.Brown@Sun.COM * information: Portions Copyright [yyyy] [name of copyright owner] 1810122SJordan.Brown@Sun.COM * 1910122SJordan.Brown@Sun.COM * CDDL HEADER END 2010122SJordan.Brown@Sun.COM */ 2110122SJordan.Brown@Sun.COM 2210122SJordan.Brown@Sun.COM /* 23*12890SJoyce.McIntosh@Sun.COM * Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved. 2410122SJordan.Brown@Sun.COM */ 2510122SJordan.Brown@Sun.COM 2610122SJordan.Brown@Sun.COM #ifndef _DIRECTORY_LIBRARY_IMPL_H 2710122SJordan.Brown@Sun.COM #define _DIRECTORY_LIBRARY_IMPL_H 2810122SJordan.Brown@Sun.COM 2910122SJordan.Brown@Sun.COM /* 3010122SJordan.Brown@Sun.COM * Internal implementation of the client side of directory lookup. 3110122SJordan.Brown@Sun.COM */ 3210122SJordan.Brown@Sun.COM 33*12890SJoyce.McIntosh@Sun.COM #include <rpcsvc/idmap_prot.h> 34*12890SJoyce.McIntosh@Sun.COM 3510122SJordan.Brown@Sun.COM #ifdef __cplusplus 3610122SJordan.Brown@Sun.COM extern "C" { 3710122SJordan.Brown@Sun.COM #endif 3810122SJordan.Brown@Sun.COM 3910122SJordan.Brown@Sun.COM directory_error_t directory_error_from_rpc(directory_error_rpc *de_rpc); 4010122SJordan.Brown@Sun.COM bool_t directory_error_to_rpc(directory_error_rpc *de_rpc, 4110122SJordan.Brown@Sun.COM directory_error_t de); 4210122SJordan.Brown@Sun.COM 4310122SJordan.Brown@Sun.COM 4410122SJordan.Brown@Sun.COM directory_error_t directory_get_v(directory_t d, directory_entry_list_t *ret, 4510122SJordan.Brown@Sun.COM char **ids, int nids, char *types, char **attr_list); 4610122SJordan.Brown@Sun.COM 4710122SJordan.Brown@Sun.COM #ifdef __cplusplus 4810122SJordan.Brown@Sun.COM } 4910122SJordan.Brown@Sun.COM #endif 5010122SJordan.Brown@Sun.COM 5110122SJordan.Brown@Sun.COM #endif /* _DIRECTORY_LIBRARY_IMPL_H */ 52