diff options
author | Max Kellermann <max@duempel.org> | 2012-08-07 23:25:42 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2012-08-07 23:27:23 +0200 |
commit | 6b39a5621d9c6724db8f03164e350ae6220fa00a (patch) | |
tree | 1d2284873c2a8bdb1f27703731ed1b6f988fb84c /src/locate.h | |
parent | 0d46e118269689e2a98e8011f52bb4bb0459421a (diff) | |
download | mpd-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.h | 10 |
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 |