32 using TestCalcfgHandler = int (*)(
void *context,
36 TestCalcfgHandler testCalcfgHandler,
37 void *testCalcfgContext);
45 bool parseCommand(
const char *json, Command *command);
46 void processCommand(
const Command &command,
ResponseWriter *writer);
47 void processDirectCommandJson(
const char *line,
ResponseWriter *writer);
57 uint32_t nextSessionId();
60 uint32_t sessionCounter = 1;
62 TestCalcfgHandler testCalcfgHandler =
nullptr;
63 void *testCalcfgContext =
nullptr;