nscd_cfgdef.h revision 124771bb5f403108fb9ed84bf6083c8d427d55ff
93ca8abdf86dfe69d40c0bc5389151e0672780afTinderbox User * CDDL HEADER START
1cf118a656f5fd210787908b845362077fc507f8Evan Hunt * The contents of this file are subject to the terms of the
1cf118a656f5fd210787908b845362077fc507f8Evan Hunt * Common Development and Distribution License (the "License").
1cf118a656f5fd210787908b845362077fc507f8Evan Hunt * You may not use this file except in compliance with the License.
1cf118a656f5fd210787908b845362077fc507f8Evan Hunt * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1cf118a656f5fd210787908b845362077fc507f8Evan Hunt * See the License for the specific language governing permissions
1cf118a656f5fd210787908b845362077fc507f8Evan Hunt * and limitations under the License.
1cf118a656f5fd210787908b845362077fc507f8Evan Hunt * When distributing Covered Code, include this CDDL HEADER in each
1cf118a656f5fd210787908b845362077fc507f8Evan Hunt * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1cf118a656f5fd210787908b845362077fc507f8Evan Hunt * If applicable, add the following below this CDDL HEADER, with the
1cf118a656f5fd210787908b845362077fc507f8Evan Hunt * fields enclosed by brackets "[]" replaced with your own identifying
#ifndef _NSCD_CFGDEF_H
#define _NSCD_CFGDEF_H
#ifdef __cplusplus
#include <stddef.h>
#include <limits.h>
#include <nss_dbdefs.h>
#include "nscd_config.h"
#include "nscd_log.h"
#include "cache.h"
int min;
int max;
int maxlen;
typedef struct nscd_cfg_nsw_spc_default {
char *db;
int group_off;
int param_off;
int data_len;
{ 0, "svc:/system/name-service-cache:default"},
{ 0, NSS_DBNAM_PASSWD },
{NSCD_LOG_ALL};
#define NSCD_CFG_PGROUP_DESC_NULL \
log,
NULL,
log,
log,
log,
fe,
NULL,
fe,
NULL,
fe,
NULL,
sc,
NULL,
sc,
NULL,
sc,
NULL,
sc,
NULL,
sw,
NULL,
sw,
NULL,
sw,
NULL,
sw,
NULL,
NULL,
NULL,
fe,
NULL,
fe,
NULL,
sw,
NULL,
sw,
sw,
sw,
NULL,
sw,
NULL,
sw,
NULL,
sw,
NULL,
sw,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
#define NSCD_CFG_DB_DEFAULT_NULL \
sw,
NULL,
sw,
NULL,
sw,
sizeof (nscd_cfg_shadow_cfg_db)),
sw,
sizeof (nscd_cfg_userattr_cfg_db)),
sw,
sizeof (nscd_cfg_auuser_cfg_db)),
sw,
sizeof (nscd_cfg_execattr_cfg_db)),
sw,
sizeof (nscd_cfg_def_passwd_compat)),
sw,
sizeof (nscd_cfg_def_group_compat)),
sw,
sw,
sw,
sw,
#define NSCD_CFG_SGROUP_DESC_NULL \
log,
log,
sw,
sw,
sw,
sw,
sw,
sw,
sw,
sw,
sw,
sw,
sw,
sw,
sw,
int _nscd_cfg_num_nsw_src =
(sizeof (_nscd_cfg_nsw_src) /
(sizeof (_nscd_cfg_smf_services) /
int _nscd_cfg_num_nsw_db_all =
(sizeof (_nscd_cfg_nsw_db) /
int _nscd_cfg_num_nsw_db =
(sizeof (_nscd_cfg_nsw_db) /
static int _nscd_cfg_num_param =
(sizeof (_nscd_cfg_param_desc) /
static int _nscd_cfg_num_stat =
(sizeof (_nscd_cfg_stat_desc) /
(sizeof (_nscd_cfg_nsw_spc_default) /
(sizeof (_nscd_cfg_nsw_link_default) /
#ifdef __cplusplus