]> git.sur5r.net Git - i3/i3/blobdiff - include/match.h
Refactor parsing of matches to avoid code duplication.
[i3/i3] / include / match.h
index dbd9bb795b95975d173de9bfcc4f5745ec3f766b..64a4f22bd8b4e5174d87ad228c228587970389f8 100644 (file)
@@ -45,3 +45,9 @@ bool match_matches_window(Match *match, i3Window *window);
  *
  */
 void match_free(Match *match);
+
+/**
+ * Interprets a ctype=cvalue pair and adds it to the given match specification.
+ *
+ */
+void match_parse_property(Match *match, const char *ctype, const char *cvalue);