diff options
author | Dubslow <bunslow@gmail.com> | 2015-02-27 17:42:36 -0600 |
---|---|---|
committer | Dubslow <bunslow@gmail.com> | 2015-02-27 17:42:36 -0600 |
commit | e632ef8a478ebb964b855c641e2ba14b279c78e1 (patch) | |
tree | d0f0126ac5697864b2a6ea77f62330d66a6a09fb /toxcore | |
parent | c5b03cdd9a5c24d31870dfd474507a097f93b60b (diff) |
Realign toxencryptsave with new API
Diffstat (limited to 'toxcore')
-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, |