diff options
Diffstat (limited to 'core/include/fxcrt/fx_ext.h')
-rw-r--r-- | core/include/fxcrt/fx_ext.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/core/include/fxcrt/fx_ext.h b/core/include/fxcrt/fx_ext.h index 03ec488135..ceba015b59 100644 --- a/core/include/fxcrt/fx_ext.h +++ b/core/include/fxcrt/fx_ext.h @@ -76,6 +76,24 @@ void FX_Random_GenerateCrypto(FX_LPDWORD pBuffer, FX_INT32 iCount); #ifdef __cplusplus } #endif +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct FX_GUID { + FX_DWORD data1; + FX_WORD data2; + FX_WORD data3; + FX_BYTE data4[8]; +} FX_GUID, * FX_LPGUID; +typedef FX_GUID const * FX_LPCGUID; + +void FX_GUID_CreateV4(FX_LPGUID pGUID); + +void FX_GUID_ToString(FX_LPCGUID pGUID, CFX_ByteString &bsStr, FX_BOOL bSeparator = TRUE); +#ifdef __cplusplus +} +#endif template<class baseType> class CFX_SSortTemplate { |