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 a66bcb17..8a489411 100644 --- a/toxcore/tox.h +++ b/toxcore/tox.h | |||
@@ -463,6 +463,14 @@ enum TOX_ERR_NEW { | |||
463 | */ | 463 | */ |
464 | TOX_ERR_NEW_LOAD_ENCRYPTED, | 464 | TOX_ERR_NEW_LOAD_ENCRYPTED, |
465 | /** | 465 | /** |
466 | * The encrypted byte array could not be decrypted. Either the data was | ||
467 | * corrupt or the password/key was incorrect. | ||
468 | * | ||
469 | * NOTE: This error code is only set by tox_encrypted_new() and | ||
470 | * tox_encrypted_key_new(), in the toxencryptsave module. | ||
471 | */ | ||
472 | TOX_ERR_NEW_LOAD_DECRYPTION_FAILED, | ||
473 | /** | ||
466 | * The data format was invalid. This can happen when loading data that was | 474 | * The data format was invalid. This can happen when loading data that was |
467 | * saved by an older version of Tox, or when the data has been corrupted. | 475 | * saved by an older version of Tox, or when the data has been corrupted. |
468 | * When loading from badly formatted data, some data may have been loaded, | 476 | * When loading from badly formatted data, some data may have been loaded, |