From e6cb939a82d8559c338ce4cc824c55f4d58499e1 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 24 Jan 2009 15:56:34 +0100 Subject: locate: added locate_item_list_casefold() Merged casefolding code from two locations into this one library function. --- src/locate.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/locate.h') diff --git a/src/locate.h b/src/locate.h index 0f1bd1a64..c2d4c0ec4 100644 --- a/src/locate.h +++ b/src/locate.h @@ -63,6 +63,13 @@ locate_item_list_new(unsigned length); 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(). + */ +struct locate_item_list * +locate_item_list_casefold(const struct locate_item_list *list); + void locate_item_list_free(struct locate_item_list *list); -- cgit v1.2.3