Open and Close
[API's]


Functions

alp_status_t alp_hscm_close (AlpHsChangeMgrHandle hChgMgr)
 Close the Change Manager.
alp_status_t alp_hscm_open (const _TCHAR *nodeName, const _TCHAR *locURI, uint32_t userId, AlpHsDbPtr pDb, AlpHsChangeMgrHandle *phChgMgr)
 Open the Change Manager for a specified Datastore.


Function Documentation

alp_status_t alp_hscm_close AlpHsChangeMgrHandle  hChgMgr  ) 
 

Close the Change Manager.

Parameters:
[in] hChgMgr Handle to an open ChangeMgr
Returns:
If successful returns ALP_STATUS_HOTSYNC_OK; otherwise returns an error.
See also:
alp_hscm_open()

alp_status_t alp_hscm_open const _TCHAR *  nodeName,
const _TCHAR *  locURI,
uint32_t  userId,
AlpHsDbPtr  pDb,
AlpHsChangeMgrHandle phChgMgr
 

Open the Change Manager for a specified Datastore.

Parameters:
[in] nodeName Desktop only. On ALP, this parameter must be set to ALP_HS_DEFAULT_NODE_NAME.
[in] locURI The datastore's locURI
[in] userId Desktop only.
[in] pDb A database pointer
[out] pHandle Handle to the ChangeMgr
Remarks:
nodeName (new parameter) is used to open data-store for a particular node and a particula locURI as opposed to earlier usage of opening it for just a locURI.

userId is for Desktop use only. It is set to zero when the DataStore is on an ALP device.

pDb should contain a valid database pointer when the DataStore registered with a supported database type.

Returns:
If successful returns ALP_STATUS_HOTSYNC_OK; otherwise returns an error.
See also:
alp_hscm_close().


Generated on Wed Jul 30 07:06:41 2008 by Doxygen 1.4.6 for ALP SDK + Hiker Documentation

Copyright © 1999-2008 ACCESS CO., LTD. All rights reserved.