| 38 | static const char *const CALLS_USAGE[] = {"CALLS", "USAGE"}; |
| 39 | |
| 40 | static cbm_impact_walk_t *open_walk(cbm_store_t *s, const char *const *types, int count, |
| 41 | bool routes) { |
| 42 | cbm_impact_policy_t policy = { |
| 43 | .project = "test", .edge_types = types, .edge_type_count = count, .follow_routes = routes}; |
| 44 | cbm_impact_walk_t *w = NULL; |
| 45 | return cbm_impact_walk_open(s, &policy, &w) == CBM_STORE_OK ? w : NULL; |
| 46 | } |
| 47 | |
| 48 | static const cbm_impact_hit_t *hit_of(const cbm_impact_walk_t *w, int64_t id) { |
| 49 | const cbm_impact_hit_t *hits = cbm_impact_walk_hits(w); |
no test coverage detected