# registry.h - [Overview](#section1164334444165628) - [Summary](#section456991567165628) - [Typedefs](#typedef-members) - [Functions](#func-members) ## **Overview** **Related Modules:** [Registry](Registry.md) **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

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.