2N/A * The contents of this file are subject to the terms of the 2N/A * Common Development and Distribution License (the "License"). 2N/A * You may not use this file except in compliance with the License. 2N/A * See the License for the specific language governing permissions 2N/A * and limitations under the License. 2N/A * When distributing Covered Code, include this CDDL HEADER in each 2N/A * If applicable, add the following below this CDDL HEADER, with the 2N/A * fields enclosed by brackets "[]" replaced with your own identifying 2N/A * information: Portions Copyright [yyyy] [name of copyright owner] 2N/A * Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights reserved. 2N/A * DESCRIPTION: Shim header information not relating to hooks 2N/A * Structure for holding all the information relating to one map. These will 2N/A * probably end up in shared memory so everyone can get at them. 2N/A * DBM pointers are non NULL only while the file is open. 2N/A /* These are used in all modes */ 2N/A int hash_val;
/* Hash of name (to save repeated rehashing) */ 2N/A * There is some duplication of information here but this enables these 2N/A * strings to be worked out once (when the map_ctrl is created) rather 2N/A * than many times as it is used. 2N/A /* These are used only in N2L mode */ 2N/A /* Open parameters (in case of reopen ) */ 2N/A int magic;
/* Check that this really is a map_ctrl */ 2N/A * Structure for holding unique map IDs. 2N/A * Used for locking purposes, in N2L mode only. 2N/A * Success and failure codes the same as used by DBM 2N/A * Extern defs for new DBM calls. Must have identical args to traditional 2N/A * String extensions used in N2L 2N/A/* Prefix used for N2L map names */ 2N/A/* Postfix used for TTL DBM files */ 2N/A/* Postfix for temporary files */ 2N/A/* File separator character. If this is defined elsewhere can be removed */ 2N/A * Special keys used in DBM files. No real NIS map can use these keys. 2N/A/* Mmaped file used for update flags shared memory */ 2N/A/* used for map arrays reallocation purposes */ 2N/A#
endif /* __SHIM_H */