mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-08 21:59:10 +02:00
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-
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user