3 * \brief Header: Background support
6 #ifndef MC_BACKGROUND_H
7 #define MC_BACKGROUND_H
11 #include <sys/types.h> /* pid_t */
18 typedef struct TaskList
{
24 struct TaskList
*next
;
27 extern struct TaskList
*task_list
;
30 int do_background (struct FileOpContext
*ctx
, char *info
);
31 int parent_call (void *routine
, struct FileOpContext
*ctx
, int argc
, ...);
32 char *parent_call_string (void *routine
, int argc
, ...);
34 void unregister_task_running (pid_t pid
, int fd
);
35 void unregister_task_with_pid (pid_t pid
);
36 extern int we_are_background
;
38 #endif /* !WITH_BACKGROUND */
40 #endif /* MC_BACKGROUND_H */