| 9369 | } |
| 9370 | |
| 9371 | static void trace_cursor_encode(const trace_cursor_t *c, char *buf, size_t bufsz) { |
| 9372 | snprintf(buf, bufsz, "c1.%c.%s.%016llx.%d.%lld", c->leg, c->generation, |
| 9373 | (unsigned long long)c->qhash, c->hop, (long long)c->node_id); |
| 9374 | } |
| 9375 | |
| 9376 | /* Decode + validate. Returns NULL on success, else a static teaching error. */ |
| 9377 | static const char *trace_cursor_decode(const char *token, const char *current_generation, |
no outgoing calls
no test coverage detected