summaryrefslogtreecommitdiff
path: root/include/mysql/plugin_encryption.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/mysql/plugin_encryption.h')
-rw-r--r--include/mysql/plugin_encryption.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/mysql/plugin_encryption.h b/include/mysql/plugin_encryption.h
index 3f35c2bcf80..5d08f6d3067 100644
--- a/include/mysql/plugin_encryption.h
+++ b/include/mysql/plugin_encryption.h
@@ -27,6 +27,10 @@
#include <mysql/plugin.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#define MariaDB_ENCRYPTION_INTERFACE_VERSION 0x0300
/**
@@ -114,5 +118,9 @@ struct st_mariadb_encryption
*/
unsigned int (*encrypted_length)(unsigned int slen, unsigned int key_id, unsigned int key_version);
};
+
+#ifdef __cplusplus
+}
+#endif
#endif