aboutsummaryrefslogtreecommitdiffstats
path: root/src/locate.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-01-24 15:26:59 +0100
committerMax Kellermann <max@duempel.org>2009-01-24 15:26:59 +0100
commit3582977e01d19556dcc7e44a6b71628a9f0a1d02 (patch)
treeea9f7056e8cd7789c1c4ef4cad7baa515650d0ca /src/locate.h
parentdaa5f5924d7406cc9d82ee893942f95e81c18cba (diff)
downloadmpd-3582977e01d19556dcc7e44a6b71628a9f0a1d02.tar.gz
mpd-3582977e01d19556dcc7e44a6b71628a9f0a1d02.tar.xz
mpd-3582977e01d19556dcc7e44a6b71628a9f0a1d02.zip
locate: no CamelCase
Renamed functions and variables.
Diffstat (limited to 'src/locate.h')
-rw-r--r--src/locate.h24
1 files changed, 13 insertions, 11 deletions
diff --git a/src/locate.h b/src/locate.h
index 3ae70ceab..92bedd90e 100644
--- a/src/locate.h
+++ b/src/locate.h
@@ -28,32 +28,34 @@ struct song;
/* struct used for search, find, list queries */
struct locate_item {
- int8_t tagType;
+ int8_t tag;
/* what we are looking for */
char *needle;
};
-int getLocateTagItemType(const char *str);
+int
+locate_parse_type(const char *str);
/* returns NULL if not a known type */
struct locate_item *
-newLocateTagItem(const char *typeString, const char *needle);
+locate_item_new(const char *type_string, const char *needle);
/* return number of items or -1 on error */
int
-newLocateTagItemArrayFromArgArray(char *argArray[], int numArgs,
- struct locate_item **arrayRet);
+locate_item_list_parse(char *argv[], int argc, struct locate_item **arrayRet);
-void freeLocateTagItemArray(int count, struct locate_item *array);
+void
+locate_item_list_free(int count, struct locate_item *array);
-void freeLocateTagItem(struct locate_item *item);
+void
+locate_item_free(struct locate_item *item);
int
-strstrSearchTags(const struct song *song, int numItems,
- const struct locate_item *items);
+locate_song_search(const struct song *song, int numItems,
+ const struct locate_item *items);
int
-tagItemsFoundAndMatches(const struct song *song, int numItems,
- const struct locate_item *items);
+locate_song_match(const struct song *song, int numItems,
+ const struct locate_item *items);
#endif