1fcced4c370617db71610fecffd5451a5894ca5eJordan Brown * CDDL HEADER START
1fcced4c370617db71610fecffd5451a5894ca5eJordan Brown * The contents of this file are subject to the terms of the
1fcced4c370617db71610fecffd5451a5894ca5eJordan Brown * Common Development and Distribution License (the "License").
1fcced4c370617db71610fecffd5451a5894ca5eJordan Brown * You may not use this file except in compliance with the License.
1fcced4c370617db71610fecffd5451a5894ca5eJordan Brown * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1fcced4c370617db71610fecffd5451a5894ca5eJordan Brown * See the License for the specific language governing permissions
1fcced4c370617db71610fecffd5451a5894ca5eJordan Brown * and limitations under the License.
1fcced4c370617db71610fecffd5451a5894ca5eJordan Brown * When distributing Covered Code, include this CDDL HEADER in each
1fcced4c370617db71610fecffd5451a5894ca5eJordan Brown * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1fcced4c370617db71610fecffd5451a5894ca5eJordan Brown * If applicable, add the following below this CDDL HEADER, with the
1fcced4c370617db71610fecffd5451a5894ca5eJordan Brown * fields enclosed by brackets "[]" replaced with your own identifying
1fcced4c370617db71610fecffd5451a5894ca5eJordan Brown * information: Portions Copyright [yyyy] [name of copyright owner]
1fcced4c370617db71610fecffd5451a5894ca5eJordan Brown * CDDL HEADER END
1fcced4c370617db71610fecffd5451a5894ca5eJordan Brown * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
1fcced4c370617db71610fecffd5451a5894ca5eJordan Brown * Use is subject to license terms.
1fcced4c370617db71610fecffd5451a5894ca5eJordan Brown * Internal implementation details for the server side of directory lookup.
1fcced4c370617db71610fecffd5451a5894ca5eJordan Brown * Functions to populate Directory Attribute Value lists.
1fcced4c370617db71610fecffd5451a5894ca5eJordan Browndirectory_error_t str_list_dav(directory_values_rpc *lvals,
1fcced4c370617db71610fecffd5451a5894ca5eJordan Brown const char * const *str_list, int n);
1fcced4c370617db71610fecffd5451a5894ca5eJordan Browndirectory_error_t uint_list_dav(directory_values_rpc *lvals,
1fcced4c370617db71610fecffd5451a5894ca5eJordan Brown const unsigned int *uint_list, int n);
1fcced4c370617db71610fecffd5451a5894ca5eJordan Browndirectory_error_t bin_list_dav(directory_values_rpc *lvals,
1fcced4c370617db71610fecffd5451a5894ca5eJordan Brown * Split a name@domain into name, domain. Recommend allocating the
1fcced4c370617db71610fecffd5451a5894ca5eJordan Brown * destination buffers the same size as the input, on the stack,
1fcced4c370617db71610fecffd5451a5894ca5eJordan Brown * using variable length arrays.
1fcced4c370617db71610fecffd5451a5894ca5eJordan Brownvoid split_name(char *name, char *domain, char *id);
1fcced4c370617db71610fecffd5451a5894ca5eJordan Brown * Insert a directory_error_t into a directory entry to be returned.
1fcced4c370617db71610fecffd5451a5894ca5eJordan Brown * Caller MUST NOT free the directory_error_t.
1fcced4c370617db71610fecffd5451a5894ca5eJordan Brownvoid directory_entry_set_error(directory_entry_rpc *ent,
1fcced4c370617db71610fecffd5451a5894ca5eJordan Brown * This is the structure by which a provider supplies its entry points.
1fcced4c370617db71610fecffd5451a5894ca5eJordan Brown * The name is not currently used.
1fcced4c370617db71610fecffd5451a5894ca5eJordan Brown#endif /* _DIRECTORY_SERVER_IMPL_H */