Modify version string to post-release version 0.18.101
[gmpc.git] / src / advanced-search.h
blob2cb58242d07462b43803d26b3debf58b6d0a17b6
1 /* Gnome Music Player Client (GMPC)
2 * Copyright (C) 2004-2009 Qball Cow <qball@sarine.nl>
3 * Project homepage: http://gmpc.wikia.com/
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License along
16 * with this program; if not, write to the Free Software Foundation, Inc.,
17 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19 #ifndef __ADVANCED_SEARCH_H__
20 #define __ADVANCED_SEARCH_H__
22 /**
23 * Initialize the advanced_search system.
25 void advanced_search_init(void);
26 /**
27 * Update the advanced_search regex to include only the supported tags
29 void advanced_search_update_taglist(void);
30 /**
31 * Destroy all the advanced_search system and clean all allocated memory.
33 void advanced_search_destroy(void);
34 /**
35 * Execute query.
36 * @param query the query to execute.
37 * @param playlist set to TRUE to search only songs in the playlist.
39 * @returns the search result in a #MpdData list.
41 MpdData *advanced_search(const gchar *query, int playlist);
43 #endif