⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dalfcns.c

📁 db.* (pronounced dee-be star) is an advanced, high performance, small footprint embedded database fo
💻 C
字号:
/*************************************************************************** *                                                                         * * db.*                                                                    * * open source database, dal utility                                       * *                                                                         * * 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.                                      *  *                                                                         * **************************************************************************//*-----------------------------------------------------------------------    dalfcns.c - Functions used during command compilation.    These functions are called during the compilation phase of    DAL.-----------------------------------------------------------------------*//* ********************** INCLUDE FILES ****************************** */#include "db.star.h"#include "daldef.h"#include "dalvar.h"/* ********************** EXTERNAL VARIABLE DECLARATIONS ************* */void dalerror(DB_TCHAR *str){    vftprintf(stderr, DB_TEXT("%s\n"), str);}void newinst(INST **ppi){    if ((*ppi = (INST *) psp_cGetMemory(sizeof(INST), 0)) == NULL)        vftprintf(stderr, DB_TEXT("dal: Out of memory\n"));}void newprint(PRINTFIELD **ppp){    if ((*ppp = (PRINTFIELD *) psp_cGetMemory(sizeof(PRINTFIELD), 0)) == NULL)        vftprintf(stderr, DB_TEXT("dal: Out of memory\n"));}int EXTERNAL_FCN def_rec(int rec, char *recptr, DB_TASK *task, int dbn){    return (0);}int EXTERNAL_FCN def_fld(int fld, char *fldptr, DB_TASK *task, int dbn){    return (0);}int EXTERNAL_FCN get_clock (clock_t *ctptr){    *ctptr = clock();    return (0);}int EXTERNAL_FCN cmp_clock (clock_t *start, clock_t *stop, clock_t *elap){     *elap = *stop - *start;     return (0);}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -