加入收藏
举报
当前仅显示指定条件回帖 [ 展开查看全部 ]
02-14 20:03
#
文件名称:
samgr_lite-h.md
所在目录:
Openharmony v1.0 / docs / docs-en / api / api-LinkIoT
文件大小:
7.56 KB
下载地址:
fenwii/OpenHarmony
   
免责声明:本网站仅提供指向 GitHub 上的文件的链接,所有文件的版权归原作者所有,本网站不对文件内容的合法性、准确性或安全性承担任何责任。
文本预览:
# samgr\_lite.h
## **Overview**
**Related Modules:**
[Samgr](samgr.md)
**Description:**
Manages system capabilities.
This is used when services, features, and functions are registered with and discovered by Samgr.
**Since:**
1.0
**Version:**
1.0
## **Summary**
## Data Structures









Data Structure Name


Description


SamgrLite


Represents the system ability management class.



## Macros









Macro Name and Value


Description


BOOTSTRAP_SERVICE "Bootstrap"


Starts a bootstrap service, which is used by samgr and implemented by system service developers.



## Typedefs












Typedef Name


Description


BootMessage


typedef enum BootMessage


Enumerates the IDs of the message to be processed for starting the bootstrap service.


SamgrLite


typedef struct SamgrLite


Represents the system ability management class.



## Enumerations









Enumeration Name


Description


BootMessage { BOOT_SYS_COMPLETED, BOOT_APP_COMPLETED, BOOT_REG_SERVICE, BOOTSTRAP_BUTT }


Enumerates the IDs of the message to be processed for starting the bootstrap service.



## Functions












Function Name


Description


SAMGR_GetInstance (void)


SamgrLite *


Obtains the singleton Samgr instance.


SAMGR_Bootstrap (void)


void


Starts system services and features.


点赞 回复
回帖
支持markdown部分语法 ?