Products Support Documentation Download
rdmuuidapi.h
Go to the documentation of this file.
1 /*
2  * Raima Database Manager
3  *
4  * Copyright (C) 2016 Raima Inc., All rights reserved.
5  *
6  * Use of this software, whether in source code format, or in executable,
7  * binary object code form, is governed by the Raima LICENSE which
8  * is fully described in the LICENSE.TXT file, included within this
9  * distribution of files.
10  */
11 
16 #include "rdmuuidtypes.h"
17 #include "rdmretcodetypes.h"
18 
19 #if defined(RDM_UNICODE)
20 #define rdm_uuidFromString RDM_T_FUNC (rdm_uuidFromString)
21 #define rdm_uuidToString RDM_T_FUNC (rdm_uuidToString)
22 #endif
23 
37 #if defined(__cplusplus)
38 extern "C" {
39 #endif
40 
49 RDM_EXPORT void EXTERNAL_FCN rdm_uuidCreate (
50  RDM_UUID_T *uuid
51 );
52 
63 RDM_EXPORT RDM_RETCODE EXTERNAL_FCN rdm_uuidFromString (
64  const RDM_TCHAR_T
65  *str,
66  RDM_UUID_T *uuid
67 );
68 
76 RDM_EXPORT size_t EXTERNAL_FCN rdm_uuidStrLen (
77  const RDM_UUID_T *
78  uuid,
79  RDM_BOOL_T braces
80 );
81 
95 RDM_EXPORT RDM_RETCODE EXTERNAL_FCN rdm_uuidToString (
96  const RDM_UUID_T *uuid,
97  RDM_TCHAR_T *str,
98  size_t len,
99  RDM_BOOL_T braces
100 );
101 
102 #if defined(__cplusplus)
103 }
104 #endif
105 
RDM_BOOL_T
Definition: psptypes.h:62
size_t rdm_uuidStrLen(const RDM_UUID_T *uuid, RDM_BOOL_T braces)
RDM Status and Error Return Codes.
RDM_RETCODE rdm_uuidFromString(const RDM_TCHAR_T *str, RDM_UUID_T *uuid)
RDM_RETCODE
RDM status and error return codes.
void rdm_uuidCreate(RDM_UUID_T *uuid)
The RDM UUID data structure.
Definition: rdmuuidtypes.h:23
#define RDM_TCHAR_T
Definition: psptypes.h:134
RDM_RETCODE rdm_uuidToString(const RDM_UUID_T *uuid, RDM_TCHAR_T *str, size_t len, RDM_BOOL_T braces)
Header for Universally Unique Identifier (UUID) types.