aboutsummaryrefslogtreecommitdiffstats
path: root/src/locate.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2012-08-07 23:25:42 +0200
committerMax Kellermann <max@duempel.org>2012-08-07 23:27:23 +0200
commit6b39a5621d9c6724db8f03164e350ae6220fa00a (patch)
tree1d2284873c2a8bdb1f27703731ed1b6f988fb84c /src/locate.h
parent0d46e118269689e2a98e8011f52bb4bb0459421a (diff)
downloadmpd-6b39a5621d9c6724db8f03164e350ae6220fa00a.tar.gz
mpd-6b39a5621d9c6724db8f03164e350ae6220fa00a.tar.xz
mpd-6b39a5621d9c6724db8f03164e350ae6220fa00a.zip
locate: add "casefold" flag to parser
Fold the case during construction, without having to create another copy.
Diffstat (limited to '')
-rw-r--r--src/locate.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/locate.h b/src/locate.h
index 9ebb2c4ae..25ca790eb 100644
--- a/src/locate.h
+++ b/src/locate.h
@@ -61,15 +61,7 @@ locate_item_list_new(unsigned length);
/* return number of items or -1 on error */
gcc_nonnull(1)
struct locate_item_list *
-locate_item_list_parse(char *argv[], int argc);
-
-/**
- * Duplicate the struct locate_item_list object and convert all
- * needles with g_utf8_casefold().
- */
-gcc_nonnull(1)
-struct locate_item_list *
-locate_item_list_casefold(const struct locate_item_list *list);
+locate_item_list_parse(char *argv[], int argc, bool fold_case);
gcc_nonnull(1)
void