aboutsummaryrefslogtreecommitdiff
path: root/src/gui_project.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui_project.h')
-rw-r--r--src/gui_project.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui_project.h b/src/gui_project.h
index e4daeb8d..d698e720 100644
--- a/src/gui_project.h
+++ b/src/gui_project.h
@@ -157,6 +157,9 @@ struct crystfel_backend {
/* Called to ask the backend to cancel the job */
void (*cancel_task)(void *job_priv);
+ /* Called to ask the backend to free any resources in the job record */
+ void (*free_task)(void *job_priv);
+
/* Called to get the status of a task */
int (*task_status)(void *job_priv,
int *running,
@@ -308,8 +311,7 @@ struct crystfelproject {
struct crystfel_backend *backends;
int n_backends;
- struct gui_task tasks[MAX_RUNNING_TASKS];
- int n_running_tasks;
+ GSList *tasks;
struct gui_indexing_result *results;
int n_results;