Replaced 6 with & as & where meant
[midnight-commander.git] / src / background.h
bloba39b5acd04fbd46fcadf9fec24dc9339e972cdf9
1 #ifndef MC_BACKGROUND_H
2 #define MC_BACKGROUND_H
4 #ifdef WITH_BACKGROUND
6 enum TaskState {
7 Task_Running,
8 Task_Stopped
9 };
11 typedef struct TaskList {
12 int fd;
13 pid_t pid;
14 int state;
15 char *info;
16 struct TaskList *next;
17 } TaskList;
19 extern struct TaskList *task_list;
21 struct FileOpContext;
22 int do_background (struct FileOpContext *ctx, char *info);
23 int parent_call (void *routine, struct FileOpContext *ctx, int argc, ...);
24 char *parent_call_string (void *routine, int argc, ...);
26 void unregister_task_running (pid_t pid, int fd);
27 extern int we_are_background;
29 #endif /* !WITH_BACKGROUND */
31 #endif /* MC_BACKGROUND_H */