init支持rpc启动应用

This commit is contained in:
zhangzheng
2023-11-28 22:33:37 +08:00
parent e6ab040306
commit 2905bf4930
24 changed files with 235 additions and 26 deletions

View File

@@ -0,0 +1,21 @@
/**
* @file pm_svr.h
* @author zhangzheng (1358745329@qq.com)
* @brief
* @version 0.1
* @date 2023-11-28
*
* @copyright Copyright (c) 2023
*
*/
#pragma once
#include "u_rpc_svr.h"
typedef struct pm
{
rpc_svr_obj_t svr_obj;
} pm_t;
void pm_svr_obj_init(pm_t *pm);
int pm_rpc_run_app(const char *path);