docs: begin to setup main structure and write BlockSS
This commit is contained in:
@ -0,0 +1,16 @@
|
||||
#include "builtin-cli.h"
|
||||
|
||||
#include <iostream>
|
||||
|
||||
#include "schedule.h"
|
||||
#include "bs-utility.h"
|
||||
void BookStoreMain(bool is_server, std::string config_dir) {
|
||||
std::ios::sync_with_stdio(false);
|
||||
if (!is_server) {
|
||||
; // TODO: run as client
|
||||
} else {
|
||||
throw FatalError("Server mode is not implemented yet", 1);
|
||||
std::cin.tie(nullptr);
|
||||
std::cout.rdbuf(nullptr);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user