6 /* ---------------------------- included header files ---------------------- */
8 #include "execcontext.h"
10 /* ---------------------------- global definitions ------------------------- */
12 /* Bits for the function flag byte. */
15 FUNC_NEEDS_WINDOW
= 0x01,
16 FUNC_DONT_REPEAT
= 0x02,
19 FUNC_ALLOW_UNMANAGED
= 0x10,
20 /* only to be passed to execute_function() */
21 FUNC_IS_UNMANAGED
= 0x20,
22 FUNC_DONT_EXPAND_COMMAND
= 0x40,
23 FUNC_DONT_DEFER
= 0x80,
25 /* The values are not used internally but by external scripts parsing
26 * functable. Hence all the values below are 0
28 /* tagging used only for building the documentation */
31 /* command grouping (used only for building the documentation) */
50 /* ---------------------------- global macros ------------------------------ */
52 /* ---------------------------- type definitions --------------------------- */
54 /* used for parsing commands*/
59 void (*action
)(F_CMD_ARGS
);
64 FUNC_FLAGS_TYPE flags
;
68 /* ---------------------------- exported variables (globals) --------------- */
70 /* ---------------------------- interface functions ------------------------ */
73 char *action
, short *func_t
, FUNC_FLAGS_TYPE
*flags
);
74 Bool
functions_is_complex_function(
75 const char *function_name
);
76 void execute_function(
77 cond_rc_t
*cond_rc
, const exec_context_t
*exc
, char *action
,
78 FUNC_FLAGS_TYPE exec_flags
);
79 void execute_function_override_wcontext(
80 cond_rc_t
*cond_rc
, const exec_context_t
*exc
, char *action
,
81 FUNC_FLAGS_TYPE exec_flags
, int wcontext
);
82 void execute_function_override_window(
83 cond_rc_t
*cond_rc
, const exec_context_t
*exc
, char *action
,
84 FUNC_FLAGS_TYPE exec_flags
, FvwmWindow
*fw
);
86 #endif /* FUNCTIONS_H */