00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef _RTL_UUID_H_
00020 #define _RTL_UUID_H_
00021
00022 #include "sal/config.h"
00023
00024 #include "rtl/string.h"
00025 #include "sal/saldllapi.h"
00026 #include "sal/types.h"
00027
00046 #ifdef __cplusplus
00047 extern "C" {
00048 #endif
00049
00060 SAL_DLLPUBLIC void SAL_CALL rtl_createUuid(
00061 sal_uInt8 *pTargetUUID,
00062 const sal_uInt8 *pPredecessorUUID,
00063 sal_Bool bUseEthernetAddress );
00064
00080 SAL_DLLPUBLIC sal_Int32 SAL_CALL rtl_compareUuid(
00081 const sal_uInt8 *pUUID1 , const sal_uInt8 *pUUID2 );
00082
00118 SAL_DLLPUBLIC void SAL_CALL rtl_createNamedUuid(
00119 sal_uInt8 *pTargetUUID,
00120 const sal_uInt8 *pNameSpaceUUID,
00121 const rtl_String *pName
00122 );
00123
00124
00125
00126
00127
00128
00129
00136 #define RTL_UUID_NAMESPACE_DNS {\
00137 0x6b,0xa7,0xb8,0x10,\
00138 0x9d,0xad,\
00139 0x11,0xd1,\
00140 0x80, 0xb4, 0x00, 0xc0, 0x4f, 0xd4, 0x30, 0xc8\
00141 }
00142
00147 #define RTL_UUID_NAMESPACE_URL { \
00148 0x6b, 0xa7, 0xb8, 0x11,\
00149 0x9d, 0xad,\
00150 0x11, 0xd1,\
00151 0x80, 0xb4, 0x00, 0xc0, 0x4f, 0xd4, 0x30, 0xc8\
00152 }
00153
00158 #define RTL_UUID_NAMESPACE_OID {\
00159 0x6b, 0xa7, 0xb8, 0x12,\
00160 0x9d, 0xad,\
00161 0x11, 0xd1,\
00162 0x80, 0xb4, 0x00, 0xc0, 0x4f, 0xd4, 0x30, 0xc8\
00163 }
00164
00169 #define RTL_UUID_NAMESPACE_X500 {\
00170 0x6b, 0xa7, 0xb8, 0x14,\
00171 0x9d, 0xad,\
00172 0x11, 0xd1,\
00173 0x80, 0xb4, 0x00, 0xc0, 0x4f, 0xd4, 0x30, 0xc8\
00174 }
00175
00176 #ifdef __cplusplus
00177 }
00178 #endif
00179
00180 #endif
00181
00182