MCPcopy Create free account
hub / github.com/antirez/ds4 / parse_int

Function parse_int

ds4_cli.c:135–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133static bool cli_distributed_coordinator(const cli_config *cfg) {
134 return cfg && cfg->engine.distributed.role == DS4_DISTRIBUTED_COORDINATOR;
135}
136
137static void cli_dist_busy_set(const cli_config *cfg, bool busy) {
138 if (!cli_distributed_coordinator(cfg)) return;
139 cli_dist_busy = busy ? 1 : 0;
140 if (!busy) cli_dist_notice_printed = 0;
141}
142
143static int cli_wait_distributed_route(const cli_config *cfg, ds4_session *session) {
144 if (!cli_distributed_coordinator(cfg)) return 0;
145
146 char err[256] = {0};

Callers 2

run_replFunction · 0.70
parse_optionsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected