diff options
author | stickies-v <stickies-v@protonmail.com> | 2022-01-27 21:31:35 +0000 |
---|---|---|
committer | stickies-v <stickies-v@protonmail.com> | 2022-03-10 11:29:09 +0100 |
commit | c1aad1b3b95b7c6bdf05e0c2095aba2f2db8310b (patch) | |
tree | 65f701fb542b920ee3ea78e26765b3bea6f94a96 /src/rest.h | |
parent | 9f1c54787c81177dd56a31c881a9ad2834a122dc (diff) |
scripted-diff: rename RetFormat to RESTResponseFormat
As RetFormat is now exposed in a header, it is renamed to the more
understandable RESTResponseFormat
-BEGIN VERIFY SCRIPT-
s() { sed -i 's/RetFormat/RESTResponseFormat/g' $1; }
s src/rest.cpp
s src/rest.h
-END VERIFY SCRIPT-
Diffstat (limited to 'src/rest.h')
-rw-r--r-- | src/rest.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rest.h b/src/rest.h index 70fed99879..e09541c47f 100644 --- a/src/rest.h +++ b/src/rest.h @@ -7,13 +7,13 @@ #include <string> -enum class RetFormat { +enum class RESTResponseFormat { UNDEF, BINARY, HEX, JSON, }; -RetFormat ParseDataFormat(std::string& param, const std::string& strReq); +RESTResponseFormat ParseDataFormat(std::string& param, const std::string& strReq); #endif // BITCOIN_REST_H |