upd: setting up structure

This commit is contained in:
2023-12-12 12:05:49 +00:00
parent 8065377db3
commit d8b62d568d
4 changed files with 44 additions and 15 deletions

View File

@ -11,6 +11,7 @@
#include <stdexcept>
#include <string>
#include <thread>
#include <vector>
class FatalError : public std::exception {
public:
FatalError(const char *__message, int __code)
@ -104,4 +105,8 @@ void debugPrint(Args... args) {
std::cerr << std::endl;
BookStore_ZYM::debug_Print_Mutex.unlock();
}
void Respond(BlockingStringStream *output_ptr, std::string SessionToken,
std::string OperationToken, std::string AuthenticationKey,
const std::vector<std::string> &ret);
#endif // PROTECTOR_UTILITY_H

View File

@ -22,5 +22,7 @@ class BookStoreBackEndClass {
}
~BookStoreBackEndClass() { delete engine_ptr; }
void Run();
void PostRequest(std::string SessionToken, std::string OperationToken,
std::string AuthenticationKey, std::string cmd);
};
#endif // PROTECTOR_SCHEDULE_H