BioConvertLocation
Function Definition
Converts the object location description.
Implementation
CResult BioConvertLocation(ObjLocation location, ObjLocationDetail *detailLoc)
Parameters
Parameter |
Data Type |
Input/Output |
Description |
|---|---|---|---|
location |
ObjLocation |
Input |
Original object location. |
detailLoc |
ObjLocationDetail* |
Output |
Object location details. Refer to Table 2. |
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
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. |
Parent topic: API Reference