OEMCrypto v18.3
Updates to OEMCrypto API, OPK, ODK, and unit tests. See the file CHANGELOG.md for details.
This commit is contained in:
@@ -1,11 +0,0 @@
|
||||
#ifndef ERROR_STRING_UTIL_H_
|
||||
#define ERROR_STRING_UTIL_H_
|
||||
|
||||
#include <string>
|
||||
|
||||
namespace wvutil {
|
||||
|
||||
const std::string OEMCryptoResultToString(int oemcrypto_result);
|
||||
|
||||
} // namespace wvutil
|
||||
#endif // ERROR_STRING_UTIL_H_
|
||||
@@ -58,6 +58,7 @@ class FileSystem {
|
||||
virtual std::unique_ptr<File> Open(const std::string& file_path, int flags);
|
||||
|
||||
virtual bool Exists(const std::string& file_path);
|
||||
virtual bool Exists(const std::string& file_path, int* errno_value);
|
||||
virtual bool Remove(const std::string& file_path);
|
||||
virtual ssize_t FileSize(const std::string& file_path);
|
||||
|
||||
|
||||
@@ -13,6 +13,11 @@ namespace wvutil {
|
||||
#endif
|
||||
bool FormatString(std::string* out, const char* fmt, ...);
|
||||
|
||||
#ifdef __GNUC__
|
||||
[[gnu::format(printf, 2, 0)]]
|
||||
#endif
|
||||
bool VFormatString(std::string* out, const char* fmt, va_list vlist);
|
||||
|
||||
} // namespace wvutil
|
||||
|
||||
#endif // WVCDM_UTIL_STRING_FORMAT_H_
|
||||
|
||||
Reference in New Issue
Block a user