📄 config_8h-source.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>FastDB: config.h Source File</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.3.5 --><div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Class Members</a></div><h1>config.h</h1><div class="fragment"><pre>00001 <span class="comment">//-< CONFIG.H >------------------------------------------------------*--------*</span>00002 <span class="comment">// FastDB Version 1.0 (c) 1999 GARRET * ? *</span>00003 <span class="comment">// (Post Relational Database Management System) * /\| *</span>00004 <span class="comment">// * / \ *</span>00005 <span class="comment">// Created: 21-Jan-2004 K.A. Knizhnik * / [] \ *</span>00006 <span class="comment">// Last update: 21-Jan-2004 K.A. Knizhnik * GARRET *</span>00007 <span class="comment">//-------------------------------------------------------------------*--------*</span>00008 <span class="comment">// FastDB configuration definitions</span>00009 <span class="comment">//-------------------------------------------------------------------*--------*</span>00010 00011 <span class="preprocessor">#ifndef __CONFIG_H__</span>00012 <span class="preprocessor"></span><span class="preprocessor">#define __CONFIG_H__</span>00013 <span class="preprocessor"></span>00014 <span class="comment">// USE_LOCALE_SETTINGS - use C locale for string comparison operations</span>00015 <span class="preprocessor">#define USE_LOCALE_SETTINGS 1</span>00016 <span class="preprocessor"></span>00017 <span class="comment">// FASTDB_DEBUG - debug level</span>00018 <span class="comment">// - DEBUG_NONE - disable any checking and tracing (except asserts)</span>00019 <span class="comment">// - DEBUG_CHECK - disable trace message</span>00020 <span class="comment">// - DEBUG_TRACE - enable trace messages </span>00021 <span class="comment">//#define FASTDB_DEBUG DEBUG_TRACE</span>00022 00023 <span class="comment">// SECURE_SERVER - enable authentication for remote logins: keep user/password table, </span>00024 <span class="comment">// check password for remote logins</span>00025 <span class="comment">//#define SECURE_SERVER 1</span>00026 00027 <span class="comment">// USE_QUEUE_MANAGER - use queue manager for internal HTTP server. </span>00028 <span class="comment">// This manager will manage pool of threads assigned for client connections. </span>00029 <span class="comment">// Otherwise all requests will be executed sequnetially in the main loop.</span>00030 <span class="comment">//#define USE_QUEUE_MANAGER 1</span>00031 00032 00033 <span class="comment">// FASTDB_DLL - create gigabase.dll</span>00034 <span class="comment">//#define FASTDB_DLL 1</span>00035 00036 00037 <span class="comment">// THROW_EXCEPTION_ON_ERROR - throw C++ exception in case of database error instead of abort()</span>00038 <span class="preprocessor">#define THROW_EXCEPTION_ON_ERROR 1</span>00039 <span class="preprocessor"></span>00040 00041 <span class="comment">//IGNORE_CASE - perform all string comparisons as case insensitive</span>00042 <span class="comment">//#define IGNORE_CASE 1</span>00043 00044 <span class="comment">//USE_STD_STRING - accept std::string class as table field type</span>00045 <span class="preprocessor">#ifdef _WIN32</span>00046 <span class="preprocessor"></span><span class="preprocessor">#define USE_STD_STRING 1</span>00047 <span class="preprocessor"></span><span class="preprocessor">#endif</span>00048 <span class="preprocessor"></span>00049 <span class="comment">//AUTOINCREMENT_SUPPORT - support autoincrement fields </span>00050 <span class="comment">// (database built with this flag will be incompatible with database built without it)</span>00051 <span class="preprocessor">#define AUTOINCREMENT_SUPPORT 1</span>00052 <span class="preprocessor"></span>00053 <span class="comment">//CLONE_IDENTIFIERS - do not storef addresses of string constants in symbol table.</span>00054 <span class="comment">// This option is needed if DLL library using GigaBASE can be unloaded.</span>00055 <span class="comment">//#define CLONE_IDENTIFIERS 1 </span>00056 00057 <span class="comment">//DISKLESS_CONFIGURATION - only in-memory temporary database</span>00058 <span class="comment">//#define DISKLESS_CONFIGURATION 1</span>00059 00060 <span class="comment">//SET_NULL_DACL - use NULL DACL security descriptor for all synchronization objects.</span>00061 <span class="comment">//#define SET_NULL_DACL 1</span>00062 00063 <span class="comment">//INT8_IS_DEFINED - int8 type is defined at your system, in this case you should use db_int8 type instead</span>00064 <span class="comment">//#define INT8_IS_DEFINED 1</span>00065 00066 <span class="comment">//USE_POSIX_SEMAPHORES use POSIX sem_* sempahores instead of SysV semaphores</span>00067 <span class="comment">// instead of SysV semaphores and shared memory</span>00068 <span class="comment">//#define USE_POSIX_SEMAPHORES 1</span>00069 00070 00071 <span class="comment">//USE_POSIX_MMAP - if 1 then use Posix mmap for mapping database file and monitor, </span>00072 <span class="comment">// if 0 - use SysV IPC shmem for allocating memory for database file and monitor,</span>00073 <span class="comment">// if not defined - use mmap for mapping database file and shmem for allocating monitor</span>00074 <span class="comment">//#define USE_POSIX_MMAP 0</span>00075 00076 <span class="comment">//REPLICATION_SUPPORT - fault tolerant version of FastDB</span>00077 <span class="comment">//#define REPLICATION_SUPPORT 1</span>00078 00079 <span class="comment">//NO_MMAP do not use OS mappig of file on virtual memory. FastDB will track modification of</span>00080 <span class="comment">// pages itself and save dirty pages in the file. If USE_POSIX_API=0, memory for database is</span>00081 <span class="comment">// allocated using shmat() and database can be shared by several processes, </span>00082 <span class="comment">// otherwise - using valloc() and database can be accessed only by one process. </span>00083 <span class="comment">//#define NO_MMAP 1</span>00084 00085 00086 <span class="comment">//USE_MFC - use MFC (include "afx.h" instead of "windows.h")</span>00087 <span class="comment">//#define USE_MFC 1</span>00088 00089 <span class="comment">//USE_ATL - use Microsoft ATL </span>00090 <span class="comment">//#define USE_ATL 1</span>00091 00092 <span class="comment">//USE_MFC_STRING - accept MVC CString class as table field type</span>00093 <span class="comment">//#define USE_MFC_STRING</span>00094 00095 <span class="preprocessor">#endif</span></pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Feb 12 13:04:48 2004 for FastDB by<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.5 </small></address></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -