| 254 | } |
| 255 | |
| 256 | static void fn_command_path_fl(const char *file, int line, const char *pathname) |
| 257 | { |
| 258 | const char *event_name = "cmd_path"; |
| 259 | struct json_writer jw = JSON_WRITER_INIT; |
| 260 | |
| 261 | jw_object_begin(&jw, 0); |
| 262 | event_fmt_prepare(event_name, file, line, NULL, &jw); |
| 263 | jw_object_string(&jw, "path", pathname); |
| 264 | jw_end(&jw); |
| 265 | |
| 266 | tr2_dst_write_line(&tr2dst_event, &jw.json); |
| 267 | jw_release(&jw); |
| 268 | } |
| 269 | |
| 270 | static void fn_command_ancestry_fl(const char *file, int line, const char **parent_names) |
| 271 | { |
nothing calls this directly
no test coverage detected