funct.h

来自「uClinux下用的数据库」· C头文件 代码 · 共 71 行

H
71
字号
/*** funct Header File	*//************************************************************************* Standard header preamble.  Ensure singular inclusion, setup for** function prototypes and c++ inclusion*/#ifndef MSQLD_FUNCT_H#define MSQLD_FUNCT_H 1#if defined(__STDC__) || defined(__cplusplus)#  define __ANSI_PROTO(x)       x#else#  define __ANSI_PROTO(x)       ()#endif#ifdef __cplusplusextern "C" {#endif/************************************************************************* Macro Definitions*/#define	FUNCT_VALUE	1#define	FUNCT_AGGREGATE	2#define FUNCT_MAX_PARAM	5/************************************************************************* Type Definitions*/typedef struct {	char	*name;	int	(*functPtr) ();	int	type,		returnType,		numParams,		paramTypes[FUNCT_MAX_PARAM + 1];} mFunct_t;		/************************************************************************* Function Prototypes*/void functProcessFunctions __ANSI_PROTO((cache_t*,mQuery_t *));int functFindFunction __ANSI_PROTO((mQuery_t *));int functCheckFunctions __ANSI_PROTO((mQuery_t *));/************************************************************************* Standard header file footer.  */#ifdef __cplusplus	}#endif /* __cplusplus */#endif /* file inclusion */

⌨️ 快捷键说明

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