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
{
23 struct TaskList
*next
;
26 extern struct TaskList
*task_list
;
29 int do_background (struct FileOpContext
*ctx
, char *info
);
30 int parent_call (void *routine
, struct FileOpContext
*ctx
, int argc
, ...);
31 char *parent_call_string (void *routine
, int argc
, ...);
33 void unregister_task_running (pid_t pid
, int fd
);
34 extern int we_are_background
;
36 #endif /* !WITH_BACKGROUND */
38 #endif /* MC_BACKGROUND_H */