abstract command handlers away from proxy server

This commit is contained in:
Martin Michelsen
2022-04-02 21:39:45 -07:00
parent 522dac9a03
commit 9c33c2de46
6 changed files with 1096 additions and 995 deletions
+18
View File
@@ -0,0 +1,18 @@
#pragma once
#include <stdint.h>
#include <string>
#include "ServerState.hh"
#include "ProxyServer.hh"
void process_proxy_command(
std::shared_ptr<ServerState> s,
ProxyServer::LinkedSession& session,
bool from_server,
uint16_t command,
uint32_t flag,
std::string& data);