struct task *task;
};
+/**
+ * Return the list of tasks for the server process.
+ *
+ * This is called from \a com_tasks(). The helper is necessary since command
+ * handlers can not access the scheduler structure directly.
+ *
+ * \return A dynamically allocated string that must be freed by the caller.
+ */
+char *server_get_tasks(void)
+{
+ return get_task_list(&sched);
+}
+
static int want_colors(void)
{
if (conf.color_arg == color_arg_no)