3ee87bca47e74aa2719352485b80973ca6e079b7Julian Pullen * CDDL HEADER START
3ee87bca47e74aa2719352485b80973ca6e079b7Julian Pullen * The contents of this file are subject to the terms of the
3ee87bca47e74aa2719352485b80973ca6e079b7Julian Pullen * Common Development and Distribution License (the "License").
3ee87bca47e74aa2719352485b80973ca6e079b7Julian Pullen * You may not use this file except in compliance with the License.
3ee87bca47e74aa2719352485b80973ca6e079b7Julian Pullen * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
3ee87bca47e74aa2719352485b80973ca6e079b7Julian Pullen * See the License for the specific language governing permissions
3ee87bca47e74aa2719352485b80973ca6e079b7Julian Pullen * and limitations under the License.
3ee87bca47e74aa2719352485b80973ca6e079b7Julian Pullen * When distributing Covered Code, include this CDDL HEADER in each
3ee87bca47e74aa2719352485b80973ca6e079b7Julian Pullen * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
3ee87bca47e74aa2719352485b80973ca6e079b7Julian Pullen * If applicable, add the following below this CDDL HEADER, with the
3ee87bca47e74aa2719352485b80973ca6e079b7Julian Pullen * fields enclosed by brackets "[]" replaced with your own identifying
3ee87bca47e74aa2719352485b80973ca6e079b7Julian Pullen * information: Portions Copyright [yyyy] [name of copyright owner]
3ee87bca47e74aa2719352485b80973ca6e079b7Julian Pullen * CDDL HEADER END
3ee87bca47e74aa2719352485b80973ca6e079b7Julian Pullen * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
3ee87bca47e74aa2719352485b80973ca6e079b7Julian Pullen * Use is subject to license terms.
3ee87bca47e74aa2719352485b80973ca6e079b7Julian Pullen * Windows to Solaris Identity Mapping
3ee87bca47e74aa2719352485b80973ca6e079b7Julian Pullen * This header file contains cache definitions.
3ee87bca47e74aa2719352485b80973ca6e079b7Julian Pullenidmap_cache_lookup_uidbysid(const char *sid_prefix, idmap_rid_t rid,
3ee87bca47e74aa2719352485b80973ca6e079b7Julian Pullenidmap_cache_lookup_gidbysid(const char *sid_prefix, idmap_rid_t rid,
3ee87bca47e74aa2719352485b80973ca6e079b7Julian Pullenidmap_cache_lookup_pidbysid(const char *sid_prefix, idmap_rid_t rid,
3ee87bca47e74aa2719352485b80973ca6e079b7Julian Pullenidmap_cache_lookup_sidbyuid(char **sid_prefix, idmap_rid_t *rid,
3ee87bca47e74aa2719352485b80973ca6e079b7Julian Pullenidmap_cache_lookup_sidbygid(char **sid_prefix, idmap_rid_t *rid,
3ee87bca47e74aa2719352485b80973ca6e079b7Julian Pullenidmap_cache_lookup_winnamebyuid(char **winname, char **windomain, uid_t uid);
3ee87bca47e74aa2719352485b80973ca6e079b7Julian Pullenidmap_cache_lookup_winnamebygid(char **winname, char **windomain, gid_t gid);
3ee87bca47e74aa2719352485b80973ca6e079b7Julian Pullenidmap_cache_lookup_uidbywinname(const char *winname, const char *windomain,
3ee87bca47e74aa2719352485b80973ca6e079b7Julian Pullenidmap_cache_lookup_gidbywinname(const char *winname, const char *windomain,
3ee87bca47e74aa2719352485b80973ca6e079b7Julian Pullenidmap_cache_add_sid2uid(const char *sid_prefix, idmap_rid_t rid, uid_t uid,
3ee87bca47e74aa2719352485b80973ca6e079b7Julian Pullenidmap_cache_add_sid2gid(const char *sid_prefix, idmap_rid_t rid, gid_t gid,
3ee87bca47e74aa2719352485b80973ca6e079b7Julian Pullenidmap_cache_add_sid2pid(const char *sid_prefix, idmap_rid_t rid, uid_t pid,
3ee87bca47e74aa2719352485b80973ca6e079b7Julian Pullenidmap_cache_add_winname2uid(const char *winname, const char *windomain,
3ee87bca47e74aa2719352485b80973ca6e079b7Julian Pullenidmap_cache_add_winname2gid(const char *winname, const char *windomain,
3ee87bca47e74aa2719352485b80973ca6e079b7Julian Pullenidmap_cache_get_data(size_t *uidbysid, size_t *gidbysid, size_t *pidbysid,
3ee87bca47e74aa2719352485b80973ca6e079b7Julian Pullen#endif /* _IDMAP_CACHE_H */