| 2840 | } |
| 2841 | |
| 2842 | static char *application_index_execute(void *context, const char *root_path, const char *args_json, |
| 2843 | bool async) { |
| 2844 | cbm_daemon_application_session_t *session = context; |
| 2845 | if (!session || !root_path || !args_json) { |
| 2846 | return NULL; |
| 2847 | } |
| 2848 | return async ? application_index_start_async(session, root_path, args_json) |
| 2849 | : application_index_run_sync(session, root_path, args_json); |
| 2850 | } |
| 2851 | |
| 2852 | static void application_status_add_record(yyjson_mut_doc *doc, yyjson_mut_val *root, |
| 2853 | const cbm_daemon_application_index_record_t *record) { |
nothing calls this directly
no test coverage detected