cctools
mesos_task.h
1 #ifndef MESOS_TASK_H_
2 #define MESOS_TASK_H_
3 
4 #include "stdlib.h"
5 #include "text_list.h"
6 #include "xxmalloc.h"
7 #include "path.h"
8 #include "stringtools.h"
9 
10 // mesos task struct
11 struct mesos_task{
12  int task_id;
13  char *task_cmd;
14  struct text_list *task_input_files;
15  struct text_list *task_output_files;
16 };
17 
18 struct mesos_task *mesos_task_create(int task_id, const char *cmd, \
19  const char *extra_input_files, const char *extra_output_files);
20 
21 void mesos_task_delete(struct mesos_task *mt);
22 
23 #endif
24 
25 /* vim: set noexpandtab tabstop=4: */
Definition: mesos_task.h:11
Brittle memory allocation routines.