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

📄 mal.h

📁 一个内存数据库的源代码这是服务器端还有客户端
💻 H
字号:
#ifndef _MAL_H#define _MAL_H#include <gdk.h>#include <gdk_utils.h>#include <stream.h>#ifdef WIN32#ifndef LIBMAL#define mal_export extern __declspec(dllimport)#else#define mal_export extern __declspec(dllexport)#endif#else#define mal_export extern#endif#define MAXSCRIPT 64mal_export char            monet_cwd[PATHLENGTH];mal_export int             monet_welcome; mal_export str             *monet_script;mal_export int 				monet_daemon;#define mal_set_lock(X,Y) if(GDKprotected) MT_set_lock(X,Y)#define mal_unset_lock(X,Y) if(GDKprotected) MT_unset_lock(X,Y)#define mal_up_sema(X,Y) if(GDKprotected) MT_up_sema(X,Y)#define mal_down_sema(X,Y) if(GDKprotected) MT_down_sema(X,Y)mal_export MT_Lock  mal_contextLock;mal_export int mal_init(void);mal_export void mal_exit(void);/* This should be here, but cannot, as "Client" isn't known, yet ... |-( * For now, we move the prototype declaration to src/mal/mal_client.c, * the only place where it is currently used. Maybe, we should concider * also moving the implementation there... */#define MALprofiler 1       /* activate the profiler *//* #undef MALprofiler*//* Listing modes are globally known */#define LIST_INPUT      1       /* echo original input */#define LIST_MAL_INSTR  2       /* show mal instruction */#define LIST_MAL_TYPE   4       /* show type resolutoin */#define LIST_MAL_PROPS  8       /* show optimizer properties */#define LIST_MAL_ALL    (LIST_MAL_INSTR | LIST_MAL_TYPE | LIST_MAL_PROPS )#define STRUCT_ALIGNED#ifndef MAXPATHLEN#define MAXPATHLEN 1024#endif#endif /*  _MAL_H*/

⌨️ 快捷键说明

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