Rate This Document
Findability
Accuracy
Completeness
Readability

BioConvertLocation

Function Definition

Converts the object location description.

Implementation

CResult BioConvertLocation(ObjLocation location, ObjLocationDetail *detailLoc)

Parameters

Table 1 Parameters

Parameter

Data Type

Input/Output

Description

location

ObjLocation

Input

Original object location.

detailLoc

ObjLocationDetail*

Output

Object location details. Refer to Table 2.

Table 2 Detailed parameter description

Parameter

Structure Field

Description

ObjLocationDetail

hostMaster

Host name array of the primary copy.

hostSlave

Host name array of the secondary copy.

portMaster

Host port array of the primary copy.

portSlave

Host port array of the secondary copy.

Return Values

Table 3 Return values

Return Value

Description

RET_CACHE_OK

The operation is successful.

RET_CACHE_EPERM

The input parameter is incorrect.

RET_CACHE_NOT_READY

The BoostIO service is not ready.

RET_CACHE_ERROR

The operation failed.