diff options
Diffstat (limited to 'toxcore/tox.h')
-rw-r--r-- | toxcore/tox.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/toxcore/tox.h b/toxcore/tox.h index 2acc70ea..abae26e6 100644 --- a/toxcore/tox.h +++ b/toxcore/tox.h | |||
@@ -444,6 +444,14 @@ enum TOX_ERR_NEW { | |||
444 | */ | 444 | */ |
445 | TOX_ERR_NEW_LOAD_ENCRYPTED, | 445 | TOX_ERR_NEW_LOAD_ENCRYPTED, |
446 | /** | 446 | /** |
447 | * The encrypted byte array could not be decrypted. Either the data was | ||
448 | * corrupt or the password/key was incorrect. | ||
449 | * | ||
450 | * NOTE: This error code is only set by tox_encrypted_new() and | ||
451 | * tox_encrypted_key_new(), in the toxencryptsave module. | ||
452 | */ | ||
453 | TOX_ERR_NEW_LOAD_DECRYPTION_FAILED, | ||
454 | /** | ||
447 | * The data format was invalid. This can happen when loading data that was | 455 | * The data format was invalid. This can happen when loading data that was |
448 | * saved by an older version of Tox, or when the data has been corrupted. | 456 | * saved by an older version of Tox, or when the data has been corrupted. |
449 | * When loading from badly formatted data, some data may have been loaded, | 457 | * When loading from badly formatted data, some data may have been loaded, |