Products Support Documentation Download
rdmencryptapi.h
Go to the documentation of this file.
1 /* ----------------------------------------------------------------------------
2  * Raima Database Manager
3  *
4  * Copyright (c) 2014 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  */
12 
17 #if !defined(RDMENCRYPTAPI_H_INCLUDED_)
18 #define RDMENCRYPTAPI_H_INCLUDED_
19 
20 #if defined(__cplusplus) && !defined(CPP_HEADER_INCLUDED)
21 #error rdmencryptapi.h is only for C applications. Do not include it directly in C++ applications. Use cpp-rdmencryptapi.h instead
22 #endif
23 
24 #include "rdmtypes.h"
25 
49 RDM_EXPORT RDM_RETCODE EXTERNAL_FCN rdm_encryptFree (
50  RDM_ENCRYPT enc
51  );
52 
65 RDM_EXPORT RDM_RETCODE EXTERNAL_FCN rdm_encryptGetType (
66  RDM_ENCRYPT enc,
67  RDM_ENC_TYPE *ptype
68  );
69 
72 #endif /* RDMENCRYPTAPI_H_INCLUDED_ */
Header for the native RDM Runtime types.
RDM_RETCODE rdm_encryptGetType(RDM_ENCRYPT enc, RDM_ENC_TYPE *ptype)
Get the encryption type for an allocated encryption context.
RDM_RETCODE
RDM status and error return codes.
RDM_ENC_TYPE
Definition: psptypes.h:86
struct RDM_ENCRYPT_S * RDM_ENCRYPT
Definition: psptypes.h:77
RDM_RETCODE rdm_encryptFree(RDM_ENCRYPT enc)
Free an encryption context.