diff options
author | bd <bdunahu@operationnull.com> | 2025-03-10 19:42:01 -0400 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2025-03-10 19:42:01 -0400 |
commit | 3f07846136767cbed13fd83baaba416f19c61667 (patch) | |
tree | 140af0aec8ee90ac4c15e8b877ff2dc88f33d7ae /src/utils/response.cc | |
parent | 141494cb961b72a7ad56c3e754af43a07f1b8c23 (diff) |
CLI view, clock, store, program banner
Diffstat (limited to 'src/utils/response.cc')
-rw-r--r-- | src/utils/response.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/utils/response.cc b/src/utils/response.cc new file mode 100644 index 0000000..def6578 --- /dev/null +++ b/src/utils/response.cc @@ -0,0 +1,8 @@ +#include "response.h" +#include <iostream> + +std::ostream &operator<<(std::ostream &os, Response r) +{ + const std::string nameR[] = {"OK", "WAIT", "BLOCKED"}; + return os << nameR[r]; +} |