* vim:ts=4:sw=4:expandtab
*
* i3 - an improved dynamic tiling window manager
- * © 2009-2011 Michael Stapelberg and contributors (see also: LICENSE)
+ * © 2009 Michael Stapelberg and contributors (see also: LICENSE)
*
* A "match" is a data structure which acts like a mask or expression to match
* certain windows or not. For example, when using commands, you can specify a
* match_matches_window() to find the windows affected by this command.
*
*/
-#ifndef I3_MATCH_H
-#define I3_MATCH_H
+#pragma once
+
+#include <config.h>
/*
* Initializes the Match data structure. This function is necessary because the
*/
void match_free(Match *match);
-#endif
+/**
+ * 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);