• BlackBerry Dynamics
  • Runtime library for iOS applications
  • 12.0.1.79
GDCryptoError.h
Go to the documentation of this file.
1 /*
2  * (c) 2019 BlackBerry Limited. All rights reserved.
3  */
4 
5 #pragma once
6 
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
14 
15 #ifndef GD_C_API
16 # if !defined(_WIN32)
17 # define GD_C_API __attribute__((visibility("default")))
18 # else
19 # define GD_C_API
20 # endif
21 #endif
22 
23 #ifndef GD_C_API_EXT
24 # define GD_C_API_EXT
25 #endif
26 
33 GD_C_API unsigned long GDCryptoError_get(void);
34 
40 GD_C_API unsigned long GDCryptoError_peek(void);
41 
47 GD_C_API unsigned long GDCryptoError_peek_last(void);
48 
52 GD_C_API void GDCryptoError_clear(void);
53 
60 GD_C_API const char* GDCryptoError_string(unsigned long e);
61 
67 GD_C_API const char* GDCryptoError_detailed_string(void);
68 
69 #ifdef __cplusplus
70 }
71 #endif
72 
GDCryptoError_clear
void GDCryptoError_clear(void)
Empties the error stack.
GDCryptoError_peek_last
unsigned long GDCryptoError_peek_last(void)
Read the latest error code.
GDCryptoError_peek
unsigned long GDCryptoError_peek(void)
Read the earliest error code.
GDCryptoError_detailed_string
const char * GDCryptoError_detailed_string(void)
Return a detailed human-readable string of the last error.
GDCryptoError_string
const char * GDCryptoError_string(unsigned long e)
Return a human-readable string representing the error code.
GDCryptoError_get
unsigned long GDCryptoError_get(void)
Retrieve the earliest error code.