diff options
author | bd <bdunahu@operationnull.com> | 2025-04-11 21:14:25 -0400 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2025-04-11 21:14:25 -0400 |
commit | 101f0facf8002907ca6e19faabfdcf472c0c3152 (patch) | |
tree | f5cdc59276f18428a02db3898be6ccf23753c349 /src/response.cc | |
parent | 1b5a73c67f9eaaf73e5046f52c48105579a7dae4 (diff) |
Move source files to top-level src directory
Diffstat (limited to 'src/response.cc')
-rw-r--r-- | src/response.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/response.cc b/src/response.cc new file mode 100644 index 0000000..3d6e439 --- /dev/null +++ b/src/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", "STALLED"}; + return os << nameR[r]; +} |