mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
This change renames all occurrences of `namespace ripple` and `ripple::` to `namespace xrpl` and `xrpl::`, respectively, as well as the names of test suites. It also provides a script to allow developers to replicate the changes in their local branch or fork to avoid conflicts.
25 lines
474 B
C++
25 lines
474 B
C++
#ifndef XRPL_RESOURCE_DISPOSITION_H_INCLUDED
|
|
#define XRPL_RESOURCE_DISPOSITION_H_INCLUDED
|
|
|
|
namespace xrpl {
|
|
namespace Resource {
|
|
|
|
/** The disposition of a consumer after applying a load charge. */
|
|
enum Disposition {
|
|
/** No action required. */
|
|
ok
|
|
|
|
/** Consumer should be warned that consumption is high. */
|
|
,
|
|
warn
|
|
|
|
/** Consumer should be disconnected for excess consumption. */
|
|
,
|
|
drop
|
|
};
|
|
|
|
} // namespace Resource
|
|
} // namespace xrpl
|
|
|
|
#endif
|