mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 23:49:24 +00:00
It is patch 1/5 of a series that refactors matching input and output devices to classes and extends possibilities to describe them, in particular, it allows use of regular expressions. This patch introduces enum xf86Match for different modes of matching present in Xserver code: case sensitive/insensitive, equal strings, being substring, comparison of filenames or pathnames etc, and introduces struct xf86MatchPattern to hold a pattern together with a mode. These types are not used yet. Signed-off-by: Oleh Nykyforchyn <oleh.nyk@gmail.com>