db.h (8858) | db.h (14288) |
---|---|
1/*- | 1/*- |
2 * Copyright (c) 1990, 1993 | 2 * Copyright (c) 1990, 1993, 1994 |
3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright 9 * notice, this list of conditions and the following disclaimer. 10 * 2. Redistributions in binary form must reproduce the above copyright --- 14 unchanged lines hidden (view full) --- 25 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * | 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright 9 * notice, this list of conditions and the following disclaimer. 10 * 2. Redistributions in binary form must reproduce the above copyright --- 14 unchanged lines hidden (view full) --- 25 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * |
33 * @(#)db.h 8.4 (Berkeley) 2/21/94 | 33 * @(#)db.h 8.7 (Berkeley) 6/16/94 |
34 */ 35 36#ifndef _DB_H_ 37#define _DB_H_ 38 39#include <sys/types.h> 40#include <sys/cdefs.h> 41 --- 105 unchanged lines hidden (view full) --- 147#define R_NOKEY 0x02 /* key not required */ 148#define R_SNAPSHOT 0x04 /* snapshot the input */ 149 u_long flags; 150 u_int cachesize; /* bytes to cache */ 151 u_int psize; /* page size */ 152 int lorder; /* byte order */ 153 size_t reclen; /* record length (fixed-length records) */ 154 u_char bval; /* delimiting byte (variable-length records */ | 34 */ 35 36#ifndef _DB_H_ 37#define _DB_H_ 38 39#include <sys/types.h> 40#include <sys/cdefs.h> 41 --- 105 unchanged lines hidden (view full) --- 147#define R_NOKEY 0x02 /* key not required */ 148#define R_SNAPSHOT 0x04 /* snapshot the input */ 149 u_long flags; 150 u_int cachesize; /* bytes to cache */ 151 u_int psize; /* page size */ 152 int lorder; /* byte order */ 153 size_t reclen; /* record length (fixed-length records) */ 154 u_char bval; /* delimiting byte (variable-length records */ |
155 char *bfname; /* btree file name */ | 155 char *bfname; /* btree file name */ |
156} RECNOINFO; 157 158#ifdef __DBINTERFACE_PRIVATE 159/* 160 * Little endian <==> big endian 32-bit swap macros. 161 * M_32_SWAP swap a memory location 162 * P_32_SWAP swap a referenced memory location 163 * P_32_COPY swap from one location to another --- 55 unchanged lines hidden --- | 156} RECNOINFO; 157 158#ifdef __DBINTERFACE_PRIVATE 159/* 160 * Little endian <==> big endian 32-bit swap macros. 161 * M_32_SWAP swap a memory location 162 * P_32_SWAP swap a referenced memory location 163 * P_32_COPY swap from one location to another --- 55 unchanged lines hidden --- |