From 128c6d51ec8c70e230dc86b100cb887ba3f0378d Mon Sep 17 00:00:00 2001 From: Joel Grunbaum <joelgrun@gmail.com> Date: Thu, 20 Jan 2022 07:00:50 +0000 Subject: [PATCH] Secrets to macros and c string concat at compile time --- protocol.hpp | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/protocol.hpp b/protocol.hpp index 1893fd0..a1a371d 100644 --- a/protocol.hpp +++ b/protocol.hpp @@ -3,6 +3,7 @@ #include "book.hpp" #include "json.hpp" +#include <deque> #include <string> #include <unordered_map> @@ -12,6 +13,9 @@ // Catchup utilities std::unordered_map<std::string, book::Book> recoverBook(); +void createWebSocket(); +std::deque<json::Message*> +catchUp(std::unordered_map<std::string, book::Book>& bs); // Outgoing messages json::Message* addOrder(json::AddMessage& order); -- Gitblit v1.9.3