include/alp/hs_id_mgr.h

Go to the documentation of this file.
00001 /******************************************************************************
00002  * Copyright (c) 1999-2008 ACCESS CO., LTD. All rights reserved.
00003  * Copyright (c) 2006 PalmSource, Inc (an ACCESS company). All rights reserved.
00004  *****************************************************************************/
00010 #if PRAGMA_ONCE
00011 #pragma once
00012 #endif
00013 
00014 #ifndef _HS_ID_MGR_H_
00015 #define _HS_ID_MGR_H_
00016 
00017 
00018 #include <stdint.h>
00019 #include <alp/types.h>
00020 #include <alp/hs_common.h>
00021 
00022 
00023 #ifdef __cplusplus
00024 extern "C" {
00025 #endif
00026 
00110 /*****************************************************************************
00111 * Typedefs 
00112 *****************************************************************************/
00118 typedef AlpLuid*        AlpLuidPtr;
00119 typedef void*           AlpGuidPtr;
00120 typedef void*           AlpHsIdMgrHandle;
00121 
00123 
00124 /*****************************************************************************
00125 * Functions and Grouping Objects
00126 *****************************************************************************/
00147 alp_status_t    alp_hsim_open              (
00148                                                AlpHsIdMgrHandle* hIdMgr
00149                                             , _TCHAR*            node
00150                                             , _TCHAR*            locURI
00151                                             , uint32_t           userId
00152                                                 );
00164 alp_status_t    alp_hsim_close             (AlpHsIdMgrHandle);
00165 
00187 alp_status_t    alp_hsim_get_conflicted_luids
00188                                                 (
00189                                                  AlpHsIdMgrHandle hIdMgr,
00190                                                  uint32_t*        pCount,
00191                                                  AlpLuidPtr       pLuidArray
00192                                                 );
00216 alp_status_t    alp_hsim_get_luids_for_guid(
00217                                                  AlpHsIdMgrHandle hIdMgr,
00218                                                  AlpGuidPtr       pGuid,
00219                                                  uint32_t*        pCount,
00220                                                  AlpLuidPtr       pLuidArray
00221                                                 );
00249 alp_status_t    alp_hsim_get_luids_for_luid(
00250                                                  AlpHsIdMgrHandle hIdMgr,
00251                                                  AlpLuid          luid,
00252                                                  uint32_t*        pCount,
00253                                                  AlpLuidPtr       pLuidArray
00254                                                 );
00274 alp_status_t alp_hsim_get_extended_luids(
00275                                                  AlpHsIdMgrHandle hIdMgr,
00276                                                  AlpLuid          luid,
00277                                                  uint32_t*        pCount,
00278                                                  AlpLuidPtr       pLuidArray
00279                                                 );
00294 alp_status_t    alp_hsim_get_referenceable_guid_for_luid (
00295                                                  AlpHsIdMgrHandle hIdMgr,
00296                                                  AlpLuid          luid,
00297                                                  AlpGuidPtr*      ppGuid
00298                                                 );
00315 alp_status_t    alp_hsim_allocate_referenceable_luid_for_guid
00316                                                 (
00317                                                  AlpHsIdMgrHandle hIdMgr,
00318                                                  AlpGuidPtr pGuid,
00319                                                  AlpLuidPtr pLuid
00320                                                 );
00332 alp_status_t    alp_hsim_get_referenceable_luid_for_guid
00333                                                 (AlpHsIdMgrHandle hIdMgr,
00334                                                  AlpGuidPtr       pGuid,
00335                                                  AlpLuidPtr       pLuid);
00352 alp_status_t    alp_hsim_get_referenceable_luid_for_luid
00353                                                 (AlpHsIdMgrHandle hIdMgr,
00354                                                  AlpLuid          luid,
00355                                                  AlpLuidPtr       pLuid);
00367 alp_status_t    alp_hsim_copy_guid         (
00368                                                  AlpGuidPtr       pGuid,
00369                                                  AlpGuidPtr*      ppGuid
00370                                                 );
00384 alp_status_t    alp_hsim_compare_guids     (
00385                                                  AlpGuidPtr       pGuid1,
00386                                                  AlpGuidPtr       pGuid2,
00387                                                  bool*            pResult);
00409 alp_status_t    alp_hsim_int_compare_guids     (
00410                                                  AlpGuidPtr       pGuid1,
00411                                                  AlpGuidPtr       pGuid2,
00412                                                  int*             pResult);
00422 alp_status_t    alp_hsim_free_guidptr      (
00423                                                  AlpGuidPtr       pGuid
00424                                                  );
00442 alp_status_t    alp_hsim_create_guid_from_bytes
00443                                                 (
00444                                                  const uint8_t*   pBuf,
00445                                                  AlpGuidPtr* pGuid
00446                                                 );
00464 alp_status_t    alp_hsim_create_guid_from_words
00465                                                 (
00466                                                  const uint32_t*  pBuf,
00467                                                  AlpGuidPtr* pGuid
00468                                                 );
00483 alp_status_t    alp_hsim_get_guid_word (
00484                                                  AlpGuidPtr pGuid,
00485                                                  unsigned int   wordNum,
00486                                                  uint32_t* pWord
00487                                                 );
00501 alp_status_t    alp_hsim_get_guid_bytes(
00502                                                  AlpGuidPtr pGuid,
00503                                                  uint8_t*  pBuf
00504                                                 );
00523 alp_status_t    alp_hsim_extend_guid(
00524                                                  AlpGuidPtr pGuid,
00525                                                  AlpGuidPtr pExtensionGuid
00526                                                 );
00540 alp_status_t    alp_hsim_get_guid_extension(
00541                                                  AlpGuidPtr pGuid,
00542                                                  AlpGuidPtr* pExtensionGuid
00543                                                 );
00562 alp_status_t    alp_hsim_create_guid_from_utf8
00563 (
00564         const uint8_t*   pBuf
00565         , uint32_t size
00566         , AlpGuidPtr* pGuid
00567 );
00586 alp_status_t    alp_hsim_get_guid_utf8
00587 (
00588         AlpGuidPtr pGuid
00589         , uint8_t*  pBuf
00590         , uint32_t* size
00591 );
00602 alp_status_t    alp_hsim_get_guid_extension_depth
00603 (
00604         AlpGuidPtr pGuid
00605         , uint32_t* pDepth
00606 );
00607 
00608     
00609 // @}
00610 
00612 
00613 #ifdef __cplusplus
00614 }
00615 #endif
00616 
00617 #endif // _HS_ID_MGR_H_

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

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