X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fmatch.h;h=8ad0fd94d433c2f97047c919d3217c965568a1d9;hb=6fe400778902be2277c4b49bdd93d74d6dfb170d;hp=fed7207ecb99ca9747cebe5474a4b4338ffa94b1;hpb=fccf9e9153b0731397561077544f5e1a15c6c3f1;p=ncmpc.git diff --git a/src/match.h b/src/match.h index fed7207..8ad0fd9 100644 --- a/src/match.h +++ b/src/match.h @@ -1,5 +1,5 @@ /* ncmpc (Ncurses MPD Client) - * (c) 2004-2009 The Music Player Daemon Project + * (c) 2004-2010 The Music Player Daemon Project * Project homepage: http://musicpd.org * This program is free software; you can redistribute it and/or modify @@ -35,6 +35,14 @@ match_line(const char *line, const char *needle) } #else +#include + +GRegex * +compile_regex(const char *src, bool anchor); + +bool +match_regex(GRegex *regex, const char *line); + /** * Checks whether the specified line matches the search string. Case * is ignored.