1 Star 0 Fork 4

太子0007/erpcdemo

forked from 10km/erpcdemo 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
erpcdemo.h 1.47 KB
一键复制 编辑 原始数据 按行查看 历史
10km 提交于 2020-04-18 09:43 . add initial source
/* 定义项目名称,也是所有生成的源码文件名前缀 */
/*
* Generated by erpcgen 1.7.3 on Sat Apr 18 09:33:42 2020.
*
* AUTOGENERATED - DO NOT EDIT
*/
#if !defined(_erpcdemo_h_)
#define _erpcdemo_h_
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include "erpc_version.h"
#if 10703 != ERPC_VERSION_NUMBER
#error "The generated shim code version is different to the rest of eRPC code."
#endif
#if !defined(ERPC_TYPE_DEFINITIONS)
#define ERPC_TYPE_DEFINITIONS
// Enumerators data types declarations
/*! 定义返回状态枚举类型 */
typedef enum lockErrors_t
{
lErrorOk_c = 0,
lErrorOutofMemory_c = 1,
lErrorMaxError_c = 2
} lockErrors_t;
// Aliases data types declarations
typedef struct binary_t binary_t;
// Structures/unions data types declarations
struct binary_t
{
uint8_t * data;
uint32_t dataLength;
};
#endif // ERPC_TYPE_DEFINITIONS
/*! @brief DEMO identifiers */
enum _DEMO_ids
{
kDEMO_service_id = 1,
kDEMO_RD_demoHello_id = 1,
kDEMO_RD_demoHello2_id = 2,
kDEMO_RD_demoHello3_id = 3,
};
#if defined(__cplusplus)
extern "C" {
#endif
/*! 定义服务接口函数, 'RD_' 为服务接口函数名前缀 */
//! @name DEMO
//@{
binary_t * RD_demoHello(const binary_t * txInput);
lockErrors_t RD_demoHello2(const binary_t * txInput, binary_t * txOutput);
lockErrors_t RD_demoHello3(const binary_t * txInput, int8_t txOutput[64], int32_t * size);
//@}
#if defined(__cplusplus)
}
#endif
#endif // _erpcdemo_h_
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/TaiZi0007/erpcdemo.git
git@gitee.com:TaiZi0007/erpcdemo.git
TaiZi0007
erpcdemo
erpcdemo
master

搜索帮助

23e8dbc6 1850385 7e0993f3 1850385