• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/BerkeleyDB-21/db/build_windows/

Lines Matching +defs:file +defs:type

3  * See the file LICENSE for redistribution information.
9 * db.h include file layout:
38 * Since this is a shared include file it should compile without warnings
43 * The type and order of elements caused the compiler to
100 * Largest unsigned type, used to align structures in memory. We don't store
108 * Unsigned type that's the same size as a pointer. There are places where
112 * no unsigned type the same size as a pointer -- here's hoping.
123 * file offsets, so we declare our own.
143 typedef u_int32_t db_pgno_t; /* Page number type. */
144 typedef u_int16_t db_indx_t; /* Page offset type. */
145 #define DB_MAX_PAGES 0xffffffff /* >= # of pages in a file */
147 typedef u_int32_t db_recno_t; /* Record number type. */
163 * applications can get type checking.
275 #define DB_FILE_ID_LEN 20 /* Unique file ID length. */
426 u_int32_t type; /* Type of lock. */
459 * A DB_LSN has two parts, a fileid which identifies a specific file, and an
460 * offset within that file. The fileid is an unsigned 4-byte quantity that
461 * uniquely identifies a file within the log directory -- currently a simple
464 * to a new log file before the maximum length imposed by an unsigned 4-byte
468 u_int32_t file; /* File ID. */
477 * type. If the flag is set, it's a log record that was logged for debugging
505 u_int32_t bp_maxrec; /* Max record length in the log file. */
521 u_int32_t st_magic; /* Log file magic number. */
522 u_int32_t st_version; /* Log file version number. */
523 int st_mode; /* Log file permissions mode. */
525 u_int32_t st_lg_size; /* Log file size. */
538 u_int32_t st_cur_file; /* Current log file number. */
539 u_int32_t st_cur_offset; /* Current log file offset. */
540 u_int32_t st_disk_file; /* Known on disk log file number. */
541 u_int32_t st_disk_offset; /* Known on disk log file offset. */
573 DB_FH *fhp; /* Underlying file handle. */
607 u_int8_t /* Unique file ID. */
609 int ftype; /* File type. */
611 u_int32_t gbytes, bytes; /* Maximum file size. */
648 * thread protected because they are initialized before the file is
654 #define MP_FILEID_SET 0x001 /* Application supplied a file ID. */
669 size_t st_mmapsize; /* Maximum file size for mmap. */
709 /* Mpool file statistics structure. */
742 * the file not exist during the rollforward pass.
1239 #define DB_DELETED (-30898)/* Recovery file marked deleted. */
1275 DBTYPE type; /* DB access method type. */
1314 * file, and we open and close a file descriptor for that file, we will
1316 * undocumented interface to support this usage which leaves any file
1319 * thread may open/close file descriptors this flag doesn't protect.
1320 * Locking with fcntl(2) on a file that you don't own is a very, very
1323 DB_FH *saved_open_fhp; /* Saved file handle. */
1555 #define DB_AM_CREATED_MSTR 0x00000008 /* Encompassing file was created */
1697 DBTYPE dbtype; /* Cursor type. */
1871 FILE *db_errfile; /* Error message file stream */
1876 FILE *db_msgfile; /* Other message file stream */
1891 char *db_log_dir; /* Database log file directory */
1892 char *db_tmp_dir; /* Database tmp file directory */
1894 char **db_data_dir; /* Database data file directories */
1895 int data_cnt; /* Database data file slots */
1896 int data_next; /* Next database data file slot */
1933 int lg_filemode; /* Log file permission mode */
1935 u_int32_t lg_size; /* Log file size */
1943 size_t mp_mmapsize; /* Maximum file size for mmap */
1944 int mp_maxopenfd; /* Maximum open file descriptors */
1962 DB_FH *registry; /* DB_REGISTER file handle */
2206 * file name to avoid overwriting the user's original database.