EMT API ver: 2.9.0
emt_api_struct_common.h
浏览该文件的文档.
1
6
7#ifndef _EMT_API_STRUCT_COMMON_H_
8#define _EMT_API_STRUCT_COMMON_H_
9
10#if defined(_MSC_VER) && _MSC_VER<1600
11typedef signed char int8_t;
12typedef short int16_t;
13typedef int int32_t;
14typedef long long int64_t;
15typedef unsigned char uint8_t;
16typedef unsigned short uint16_t;
17typedef unsigned int uint32_t;
18typedef unsigned long long uint64_t;
19#else
20#include <stdint.h>
21#endif
22
23#include "emt_api_data_type.h"
24
25#pragma pack(1)
26
28#define EMT_ERR_MSG_LEN 124
30typedef struct EMTRspInfoStruct_
31{
33 int32_t error_id;
36
38 error_id = 0;
39 error_msg[0] = '\0';
40 }
42
43#pragma pack()
44
45#endif // !_EMT_API_STRUCT_COMMON_H_
定义兼容数据基本类型
#define EMT_ERR_MSG_LEN
错误信息的字符串长度
Definition: emt_api_struct_common.h:28
struct EMTRspInfoStruct_ EMTRI
响应信息
响应信息
Definition: emt_api_struct_common.h:31
EMTRspInfoStruct_()
Definition: emt_api_struct_common.h:37
int32_t error_id
错误代码
Definition: emt_api_struct_common.h:33
char error_msg[EMT_ERR_MSG_LEN]
错误信息
Definition: emt_api_struct_common.h:35