Functions | |
| alp_status_t | alp_hscm_close_datastore (AlpHsChangeMgrHandle hChgMgr) |
| Closes a datastore without closing the ChangeMgr. | |
| alp_status_t | alp_hscm_open_datastore (AlpHsChangeMgrHandle hChgMgr, const _TCHAR *locURI) |
| Opens a datastore. | |
| alp_status_t | alp_hscm_open_for_sync (const _TCHAR *nodeName, const _TCHAR *syncMgrLocURI, uint32_t userId, void *pContext, AlpHsObjectComparatorFnPtr cmpObjs, AlpHsChangeMgrHandle *phChgMgr) |
| Opens the ChangeMgr for synchronization operations. | |
| alp_status_t | alp_hscm_prepare_for_sync (AlpHsChangeMgrHandle hChgMgr) |
| Prepares a datastore for synchronization operations. | |
|
|
Closes a datastore without closing the ChangeMgr.
|
|
||||||||||||
|
Opens a datastore.
|
|
||||||||||||||||||||||||||||
|
Opens the ChangeMgr for synchronization operations. Unlike alp_hscm_open(), this function opens the ChangeMgr without also opening a datastore. alp_hscm_open_datastore() can then be called to open a specific datastore. Together these two functions allow the caller to open a series of datastores without closing and re-opening the ChangeMgr. This is primarily a convenience for synchronization applications that need to iterate over a series of datastores during a synchronization session. Call alp_hscm_close() to close a ChangeMgr instance that was opened using this function.
|
|
|
Prepares a datastore for synchronization operations. This function gives an opened datastore a chance to perform extra steps before synchronization starts. For external datastores (kChMgrTypeExternal), the ChangeMgr queries the datastore for newly added, modified, or deleted objects, then records these changes. The external datastore APIs called are alp_hsds_ext_get_change_info and alp_hsds_ext_clear_change_info. For datastore using the ChangeMgr (kChMgrTypeHotsync), no extra steps are performed, thus, no datastore APIs are called.
|
Copyright © 1999-2008 ACCESS CO., LTD. All rights reserved.