include/alp/hs_id_mgr.h File Reference


Detailed Description

Public header file for the HotSync Id Manager.

#include <stdint.h>
#include <alp/types.h>
#include <alp/hs_common.h>

Go to the source code of this file.

Typedefs

typedef void * AlpGuidPtr
typedef void * AlpHsIdMgrHandle
typedef AlpLuidAlpLuidPtr

Functions

alp_status_t alp_hsim_allocate_referenceable_luid_for_guid (AlpHsIdMgrHandle hIdMgr, AlpGuidPtr pGuid, AlpLuidPtr pLuid)
 Allocates a new LUID for an input GUID.
alp_status_t alp_hsim_close (AlpHsIdMgrHandle)
 Close the IdMgr.
alp_status_t alp_hsim_compare_guids (AlpGuidPtr pGuid1, AlpGuidPtr pGuid2, bool *pResult)
 Returns true when the two input GUIDs are equal, and false otherwise.
alp_status_t alp_hsim_copy_guid (AlpGuidPtr pGuid, AlpGuidPtr *ppGuid)
 Makes an exact copy of an input guid.
alp_status_t alp_hsim_create_guid_from_bytes (const uint8_t *pBuf, AlpGuidPtr *pGuid)
 Creates a GUID from an input byte array.
alp_status_t alp_hsim_create_guid_from_utf8 (const uint8_t *pBuf, uint32_t size, AlpGuidPtr *pGuid)
 Creates a GUID from its system standard NULL-terminated string representation.
alp_status_t alp_hsim_create_guid_from_words (const uint32_t *pBuf, AlpGuidPtr *pGuid)
 Creates a GUID from an input word array.
alp_status_t alp_hsim_extend_guid (AlpGuidPtr pGuid, AlpGuidPtr pExtensionGuid)
 Extends the tail of an existing GUID.
alp_status_t alp_hsim_free_guidptr (AlpGuidPtr pGuid)
 Free the input GUID.
alp_status_t alp_hsim_get_conflicted_luids (AlpHsIdMgrHandle hIdMgr, uint32_t *pCount, AlpLuidPtr pLuidArray)
 Get the referenceable ids for conflicted objects in a datastore. Enumerate ids for conflicted objects.
alp_status_t alp_hsim_get_extended_luids (AlpHsIdMgrHandle hIdMgr, AlpLuid luid, uint32_t *pCount, AlpLuidPtr pLuidArray)
 Returns an array of referenceable LUIDs for the GUIDs in an extended GUID identified by its LUID.
alp_status_t alp_hsim_get_guid_bytes (AlpGuidPtr pGuid, uint8_t *pBuf)
 Get the zero based nth byte from a 128 bit GUID.
alp_status_t alp_hsim_get_guid_extension (AlpGuidPtr pGuid, AlpGuidPtr *pExtensionGuid)
 Get the tail of an extended GUID.
alp_status_t alp_hsim_get_guid_extension_depth (AlpGuidPtr pGuid, uint32_t *pDepth)
 Returns the zero-based depth of the input GUID.
alp_status_t alp_hsim_get_guid_utf8 (AlpGuidPtr pGuid, uint8_t *pBuf, uint32_t *size)
 Gets the NULL-terminated system standard string representation of a GUID.
alp_status_t alp_hsim_get_guid_word (AlpGuidPtr pGuid, unsigned int wordNum, uint32_t *pWord)
 Get the zero based nth word from a 128 bit GUID.
alp_status_t alp_hsim_get_luids_for_guid (AlpHsIdMgrHandle hIdMgr, AlpGuidPtr pGuid, uint32_t *pCount, AlpLuidPtr pLuidArray)
 Get the LUIDs associated with an input GUID.
alp_status_t alp_hsim_get_luids_for_luid (AlpHsIdMgrHandle hIdMgr, AlpLuid luid, uint32_t *pCount, AlpLuidPtr pLuidArray)
 Gets the LUIDs associated with an input LUID.
alp_status_t alp_hsim_get_referenceable_guid_for_luid (AlpHsIdMgrHandle hIdMgr, AlpLuid luid, AlpGuidPtr *ppGuid)
 Gets the GUID associated with a LUID.
alp_status_t alp_hsim_get_referenceable_luid_for_guid (AlpHsIdMgrHandle hIdMgr, AlpGuidPtr pGuid, AlpLuidPtr pLuid)
 Gets the referenceable LUID associated with a GUID.
alp_status_t alp_hsim_get_referenceable_luid_for_luid (AlpHsIdMgrHandle hIdMgr, AlpLuid luid, AlpLuidPtr pLuid)
 Gets the referenceable LUID associated with a LUID.
alp_status_t alp_hsim_int_compare_guids (AlpGuidPtr pGuid1, AlpGuidPtr pGuid2, int *pResult)
 Return 0 when the two input GUIDs are equal, -1 if the first GUID is less than the second and 1 otherwise.
alp_status_t alp_hsim_open (AlpHsIdMgrHandle *hIdMgr, _TCHAR *node, _TCHAR *locURI, uint32_t userId)
 Open the IdMgr for a specified datastore.


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

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