1 Star 0 Fork 4.9K

famoustang / docs

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

registry.h

Overview

Related Modules:

Registry

Description:

Provides basic APIs for remote service registration and discovery.

APIs provided by this file include the factory registration function of the client code. This file is used when there are customized client objects.

Since:

1.0

Version:

1.0

Summary

Typedefs

Typedef Name

Description

Creator) (const char *service, const char *feature, uint32 size)

typedef void *(* 

Indicates the creator of the customized client proxy.

Destroyer) (const char *service, const char *feature, void *iproxy)

typedef void(* 

Indicates the destroyer of the customized client proxy.

Functions

Function Name

Description

SAMGR_RegisterFactory (const char *service, const char *feature, Creator creator, Destroyer destroyer)

int 

Registers the factory method of the client proxy object with the Samgr.

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

搜索帮助