8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-27 18:03:04 +01:00
firebird-mirror/src/jrd/flags.h
brodsom 2aeb693d06 extern cleaning
removing underscores in macros
DLL_EXPORT cleaning
2003-10-03 01:53:34 +00:00

57 lines
1.5 KiB
C

/*
* PROGRAM: JRD Access Method
* MODULE: flags.h
* DESCRIPTION: Various flag definitions
*
* The contents of this file are subject to the Interbase Public
* License Version 1.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy
* of the License at http://www.Inprise.com/IPL.html
*
* Software distributed under the License is distributed on an
* "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express
* or implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code was created by Inprise Corporation
* and its predecessors. Portions created by Inprise Corporation are
* Copyright (C) Inprise Corporation.
*
* All Rights Reserved.
* Contributor(s): ______________________________________.
*/
#ifndef JRD_FLAGS_H
#define JRD_FLAGS_H
/* flags for RDB$FILE_FLAGS */
#define FILE_shadow 1
#define FILE_inactive 2
#define FILE_manual 4
#define FILE_cache 8
#define FILE_conditional 16
/* Flags for backup difference files */
// File is difference
#define FILE_difference 32
// Actively used for backup purposes (ALTER DATABASE BEGIN BACKUP issued)
#define FILE_backing_up 64
/* flags for RDB$LOG_FILES */
#define LOG_serial 1
#define LOG_default 2
#define LOG_raw 4
#define LOG_overflow 8
/* flags for RDB$RELATIONS */
#define REL_sql 1
/* flags for RDB$TRIGGERS */
#define TRG_sql 0x1
#define TRG_ignore_perm 0x2 /* trigger ignores permissions checks */
#endif /* JRD_FLAGS_H */