📄 dbexp.h
字号:
/*************************************************************************** * * * db.* * * open source database kernel * * * * Copyright (c) 2000 Centura Software Corporation. All rights reserved. * * * * Use of this software, whether in source code format, or in executable, * * binary object code form, is governed by the CENTURA OPEN SOURCE LICENSE * * which is fully described in the LICENSE.TXT file, included within this * * distribution of source code files. * * * * Except as provided herein, the contents of this file are subject to the * * Centura Open Source Public License Version 1.0 (the "License"); you may * * not use this file except in compliance with the License. A copy of the * * License will be provided to you by Club ITTIA. * * * * 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 is db.linux version 1.0, released February 29, 2000. * * * * The Initial Developer of the Original Code is Centura Software * * Corporation. Portions created by Centura Software Corporation are * * Copyright (C) 1984-2000 Centura Software Corporation. All Rights * * Reserved. * * * * This file contains modifications to the Original Code made by ITTIA. * * This file may only be used in accordance with the ITTIA DB.* V.2 * * License Agreement which is available at WWW.ITTIA.COM. * * * **************************************************************************/#ifndef DBSTAR_DBEXP_H#define DBSTAR_DBEXP_H/* XML validation formats */#define NO_VALIDATION 0#define DTD 1typedef struct _EXPOPTS{ DB_BOOLEAN comma; DB_BOOLEAN decimal; DB_BOOLEAN extended; DB_BOOLEAN silent; DB_BOOLEAN unicode; DB_BOOLEAN rec_addr; DB_BOOLEAN mem_addr; DB_BOOLEAN xml; DB_TCHAR sep_char; DB_TCHAR esc_char; DB_TCHAR *dbname; DB_TCHAR *names; DB_TCHAR **recnames; int *rt_index; int n_recs; int validation; SG *sg;} EXPOPTS;#define MAXEXPFILELEN 80typedef struct _EXPFILE{ FILE *fp; DB_BOOLEAN open; DB_BOOLEAN removed; int recent; DB_TCHAR name[MAXEXPFILELEN + 1];} EXPFILE;extern void cvt_dba(DB_TCHAR *, DB_ADDR, EXPOPTS *);extern int pr_mems(FILE *, short, char *, EXPOPTS *, DB_TASK *);extern int pr_data(FILE *, short, char *, EXPOPTS *, DB_TASK *);extern void EXTERNAL_FCN dbexp_dberr(int, DB_TCHAR *);#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -