idmap_impl.h revision 1fdeec650620e8498c06f832ea4bd2292f7e9632
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
*/
/*
* Private Header for Identity Mapping
*/
#ifndef _IDMAP_IMPL_H
#define _IDMAP_IMPL_H
#include <libscf.h>
#include <resolv.h>
#include <rpcsvc/idmap_prot.h>
#include "idmap_priv.h"
#ifdef __cplusplus
extern "C" {
#endif
struct idmap_udt_handle {
};
#define _IDMAP_RESET_UDT_HANDLE(uh) \
typedef struct idmap_get_res {
int *is_user;
char **sidprefix;
int cache_res;
struct idmap_get_handle {
};
#define _IDMAP_RESET_GET_HANDLE(gh) \
struct idmap_iter {
int type;
void *arg;
void *retlist;
};
typedef struct stat_table {
const char *msg;
int errnum;
} stat_table_t;
typedef idmap_retcode _idmap_stat;
const struct timeval);
extern idmap_logger_t logger;
#ifdef __cplusplus
}
#endif
#endif /* _IDMAP_IMPL_H */