4 /* Background code requires socketpair to be available */
5 /* Do not add the background code if it is not supported */
7 # define WITH_BACKGROUND
10 /* Used for parent/child communication. These are numbers that
11 * could not possible be a routine address.
27 typedef struct TaskList
{
32 struct TaskList
*next
;
35 extern struct TaskList
*task_list
;
37 extern int background_wait
;
39 int do_background (FileOpContext
*ctx
, char *info
);
40 void tell_parent (int msg
);
41 int parent_call (void *routine
, FileOpContext
*ctx
, int argc
, ...);
43 void unregister_task_running (pid_t
, int fd
);
46 void message_1s (int flags
, char *title
, char *str1
);
47 void message_2s (int flags
, char *title
, char *str1
, char *str2
);
48 void message_3s (int flags
, char *title
, char *str1
, char *str2
, const char *str3
);
49 void message_1s1d (int flags
, char *title
, char *str
, int d
);