aboutsummaryrefslogtreecommitdiff
path: root/include/sway/commands.h
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-12-05 12:35:51 -0500
committerGitHub <noreply@github.com>2017-12-05 12:35:51 -0500
commit3fe64482bb269a3dcceeaf1107b9d59dc60eb8d0 (patch)
tree8fea86b5c928d551723426e196405e5f2f25de2e /include/sway/commands.h
parentf2aa33ae0f6cd91b88a3f24b65e3e915c3960931 (diff)
parent7e81d304a3121e92f78527dcf1327e991b0089ac (diff)
Merge pull request #1498 from emersion/config
Add minimal config subsystem
Diffstat (limited to 'include/sway/commands.h')
-rw-r--r--include/sway/commands.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/sway/commands.h b/include/sway/commands.h
index df5c6859..b1f0423d 100644
--- a/include/sway/commands.h
+++ b/include/sway/commands.h
@@ -47,6 +47,16 @@ struct cmd_results *checkarg(int argc, const char *name,
*/
struct cmd_results *handle_command(char *command);
/**
+ * Parse and handles a command during config file loading.
+ *
+ * Do not use this under normal conditions.
+ */
+struct cmd_results *config_command(char *command, enum cmd_status block);
+/*
+ * Parses a command policy rule.
+ */
+struct cmd_results *config_commands_command(char *exec);
+/**
* Allocates a cmd_results object.
*/
struct cmd_results *cmd_results_new(enum cmd_status status, const char* input, const char *error, ...);