Commit bcd5db49 authored by Paul Bakker's avatar Paul Bakker
Browse files

- Added C++ wrapper code

parent 2f5947e1
......@@ -71,6 +71,10 @@
* Module dependent error code (5 bits 0x.08.-0x.F8.)
*/
#ifdef __cplusplus
extern "C" {
#endif
/**
* \brief Translate a PolarSSL error code into a string representation,
* Result is truncated if necessary and always includes a terminating
......@@ -82,4 +86,8 @@
*/
void error_strerror( int errnum, char *buffer, size_t buflen );
#ifdef __cplusplus
}
#endif
#endif /* error.h */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment