test_intf.h

来自「eXtremeDB数据库在Linux平台下的使用源码。内含多个示例程序」· C头文件 代码 · 共 58 行

H
58
字号
#ifndef __TEST_INTERFACE_H#define __TEST_INTERFACE_Htypedef struct tag_test_inner_struct {	unsigned char  a;	unsigned short b;	unsigned int   c;	unsigned long  d;}test_inner_struct_t, *test_inner_struct_p;typedef struct tag_test_struct {	unsigned int a;	char         b;	char *       c /*string*/;	unsigned short d;	short        e[3];	test_inner_struct_t f[2];} test_struct_t, *test_struct_p;typedef union tag_test_union {	unsigned int a;	char *       b /*string*/;} test_union_t ;typedef struct tag_test_struct_union {	unsigned char tp;	test_union_t  dt /* active(tp) */;} test_struct_union_t, * test_struct_union_p;typedef struct tag_test_struct_variable {	unsigned int a_sz;	unsigned int b_len;		unsigned short * a /* size(a_sz) */;	unsigned short * b /* length(b_len) */;	} test_struct_variable_t, * test_struct_variable_p;int test_int( int i );void test_void_int( int i );typedef char * zstring /* string */;typedef int int5[5];int test_int_string( zstring str );int test_int_int5( int5 ints );int test_int_pstruct( test_struct_p pstruct );int test_int_variable_len( test_struct_variable_p p );int test_int_union( test_struct_union_p p );#endif

⌨️ 快捷键说明

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