summaryrefslogtreecommitdiff
path: root/src/comm.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/comm.sh')
-rw-r--r--src/comm.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/comm.sh b/src/comm.sh
index 44c83dd..4fc8cb2 100644
--- a/src/comm.sh
+++ b/src/comm.sh
@@ -43,6 +43,8 @@ struct comm
#define NEED_FORE (1<<6) /* this command needs a fore window */
#define NEED_DISPLAY (1<<7) /* this command needs a display */
#define NEED_LAYER (1<<8) /* this command needs a layer */
+#define CAN_QUERY (1<<9) /* this command can be queried, i.e. used with -Q to
+ get back a result to stdout */
#define ARGS_01 (ARGS_0 | ARGS_PLUS1)
#define ARGS_02 (ARGS_0 | ARGS_PLUS2)
@@ -61,6 +63,10 @@ struct action
int nr;
char **args;
int *argl;
+ int quiet; /* Suppress (currently unused)
+ 0x01 - Error message
+ 0x02 - Normal message
+ */
};
#define RC_ILLEGAL -1