]> git.sur5r.net Git - i3/i3/blobdiff - include/config_directives.h
Remove yajl major version conditionals
[i3/i3] / include / config_directives.h
index 9569a7b0af5b1d5904a5405f1bacc9161bb45d79..a95a6473f2f8c9ad1b740e38350db1b076de9daa 100644 (file)
@@ -7,11 +7,16 @@
  * config_directives.h: all config storing functions (see config_parser.c)
  *
  */
-#ifndef I3_CONFIG_DIRECTIVES_H
-#define I3_CONFIG_DIRECTIVES_H
+#pragma once
 
 #include "config_parser.h"
 
+/**
+ * A utility function to convert a string of modifiers to the corresponding bit
+ * mask.
+ */
+uint32_t modifiers_from_str(const char *str);
+
 /** The beginning of the prototype for every cfg_ function. */
 #define I3_CFG Match *current_match, struct ConfigResult *result
 
@@ -77,5 +82,3 @@ CFGFUN(bar_status_command, const char *command);
 CFGFUN(bar_binding_mode_indicator, const char *value);
 CFGFUN(bar_workspace_buttons, const char *value);
 CFGFUN(bar_finish);
-
-#endif