4 #include "fe-windows.h"
6 #define EXEC_WI(query) \
7 MODULE_CHECK_CAST_MODULE(query, EXEC_WI_REC, type, \
8 "WINDOW ITEM TYPE", "EXEC")
10 #define IS_EXEC_WI(query) \
11 (EXEC_WI(query) ? TRUE : FALSE)
13 typedef struct PROCESS_REC PROCESS_REC;
15 #define STRUCT_SERVER_REC void
17 #include "window-item-rec.h"
19 unsigned int destroying:1;
33 int level; /* what level to use when printing the text */
34 char *target; /* send text with /msg <target> ... */
35 WINDOW_REC *target_win; /* print text to this window */
36 EXEC_WI_REC *target_item; /* print text to this exec window item */
38 unsigned int shell:1; /* start the program via /bin/sh */
39 unsigned int notice:1; /* send text with /notice, not /msg if target is set */
40 unsigned int silent:1; /* don't print "process exited with level xx" */
43 extern GSList *processes;
45 void fe_exec_init(void);
46 void fe_exec_deinit(void);