diff options
author | Damien Zammit <damien@zamaudio.com> | 2019-06-21 20:51:08 +1000 |
---|---|---|
committer | Damien Zammit <damien@zamaudio.com> | 2019-06-21 20:51:08 +1000 |
commit | 73e89f4563f7dacfd498d8d0514d2ae1dbee739f (patch) | |
tree | a220cec5b5bfcaf5e61b2b8ab20f0f85f4a601ee /ptformat.cc | |
parent | 12560df8235ca65ff7a5ca7fe7987db8e416f9a9 (diff) |
Update inline API documentation for return values
Diffstat (limited to 'ptformat.cc')
-rw-r--r-- | ptformat.cc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/ptformat.cc b/ptformat.cc index fd0792a..e839fc7 100644 --- a/ptformat.cc +++ b/ptformat.cc @@ -351,7 +351,7 @@ PTFFormat::foundin(std::string const& haystack, std::string const& needle) { } /* Return values: 0 success - -1 could not decrypt pt session + -1 error decrypting pt session */ int PTFFormat::unxor(std::string const& path) { @@ -426,7 +426,10 @@ PTFFormat::unxor(std::string const& path) { } /* Return values: 0 success - -1 could not parse pt session + -1 error decrypting pt session + -2 error detecting pt session + -3 incompatible pt version + -4 error parsing pt session */ int PTFFormat::load(std::string const& ptf, int64_t targetsr) { |