11fcced4cSJordan Brown /* 21fcced4cSJordan Brown * CDDL HEADER START 31fcced4cSJordan Brown * 41fcced4cSJordan Brown * The contents of this file are subject to the terms of the 51fcced4cSJordan Brown * Common Development and Distribution License (the "License"). 61fcced4cSJordan Brown * You may not use this file except in compliance with the License. 71fcced4cSJordan Brown * 81fcced4cSJordan Brown * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 91fcced4cSJordan Brown * or http://www.opensolaris.org/os/licensing. 101fcced4cSJordan Brown * See the License for the specific language governing permissions 111fcced4cSJordan Brown * and limitations under the License. 121fcced4cSJordan Brown * 131fcced4cSJordan Brown * When distributing Covered Code, include this CDDL HEADER in each 141fcced4cSJordan Brown * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 151fcced4cSJordan Brown * If applicable, add the following below this CDDL HEADER, with the 161fcced4cSJordan Brown * fields enclosed by brackets "[]" replaced with your own identifying 171fcced4cSJordan Brown * information: Portions Copyright [yyyy] [name of copyright owner] 181fcced4cSJordan Brown * 191fcced4cSJordan Brown * CDDL HEADER END 201fcced4cSJordan Brown */ 211fcced4cSJordan Brown 221fcced4cSJordan Brown /* 23*cb174861Sjoyce mcintosh * Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved. 241fcced4cSJordan Brown */ 251fcced4cSJordan Brown 261fcced4cSJordan Brown #ifndef _DIRECTORY_LIBRARY_IMPL_H 271fcced4cSJordan Brown #define _DIRECTORY_LIBRARY_IMPL_H 281fcced4cSJordan Brown 291fcced4cSJordan Brown /* 301fcced4cSJordan Brown * Internal implementation of the client side of directory lookup. 311fcced4cSJordan Brown */ 321fcced4cSJordan Brown 33*cb174861Sjoyce mcintosh #include <rpcsvc/idmap_prot.h> 34*cb174861Sjoyce mcintosh 351fcced4cSJordan Brown #ifdef __cplusplus 361fcced4cSJordan Brown extern "C" { 371fcced4cSJordan Brown #endif 381fcced4cSJordan Brown 391fcced4cSJordan Brown directory_error_t directory_error_from_rpc(directory_error_rpc *de_rpc); 401fcced4cSJordan Brown bool_t directory_error_to_rpc(directory_error_rpc *de_rpc, 411fcced4cSJordan Brown directory_error_t de); 421fcced4cSJordan Brown 431fcced4cSJordan Brown 441fcced4cSJordan Brown directory_error_t directory_get_v(directory_t d, directory_entry_list_t *ret, 451fcced4cSJordan Brown char **ids, int nids, char *types, char **attr_list); 461fcced4cSJordan Brown 471fcced4cSJordan Brown #ifdef __cplusplus 481fcced4cSJordan Brown } 491fcced4cSJordan Brown #endif 501fcced4cSJordan Brown 511fcced4cSJordan Brown #endif /* _DIRECTORY_LIBRARY_IMPL_H */ 52