1 Star 0 Fork 4.9K

罗小黑 / docs

forked from OpenHarmony / docs 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
samgr_lite-h.md 7.59 KB
一键复制 编辑 原始数据 按行查看 历史
wenjun 提交于 2020-09-08 10:08 . add OpenHarmony 1.0 baseline

samgr_lite.h

Overview

Related Modules:

Samgr

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.

1
https://gitee.com/lawguiren/docs.git
git@gitee.com:lawguiren/docs.git
lawguiren
docs
docs
master

搜索帮助