summaryrefslogtreecommitdiff
path: root/protocols/Tox/libtox/src/toxencryptsave/toxencryptsave.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Tox/libtox/src/toxencryptsave/toxencryptsave.h')
-rw-r--r--protocols/Tox/libtox/src/toxencryptsave/toxencryptsave.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/protocols/Tox/libtox/src/toxencryptsave/toxencryptsave.h b/protocols/Tox/libtox/src/toxencryptsave/toxencryptsave.h
index e4cf116c97..f70ff8b4d1 100644
--- a/protocols/Tox/libtox/src/toxencryptsave/toxencryptsave.h
+++ b/protocols/Tox/libtox/src/toxencryptsave/toxencryptsave.h
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: GPL-3.0-or-later
- * Copyright © 2016-2024 The TokTok team.
+ * Copyright © 2016-2025 The TokTok team.
* Copyright © 2013-2016 Tox Developers.
*/
@@ -88,6 +88,8 @@ typedef enum Tox_Err_Key_Derivation {
} Tox_Err_Key_Derivation;
+const char *tox_err_key_derivation_to_string(Tox_Err_Key_Derivation error);
+
typedef enum Tox_Err_Encryption {
/**
@@ -114,6 +116,8 @@ typedef enum Tox_Err_Encryption {
} Tox_Err_Encryption;
+const char *tox_err_encryption_to_string(Tox_Err_Encryption error);
+
typedef enum Tox_Err_Decryption {
/**
@@ -152,6 +156,8 @@ typedef enum Tox_Err_Decryption {
} Tox_Err_Decryption;
+const char *tox_err_decryption_to_string(Tox_Err_Decryption error);
+
/*******************************************************************************
*
* BEGIN PART 1
@@ -313,6 +319,8 @@ typedef enum Tox_Err_Get_Salt {
} Tox_Err_Get_Salt;
+const char *tox_err_get_salt_to_string(Tox_Err_Get_Salt error);
+
/**
* Retrieves the salt used to encrypt the given data.
*