aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils.h
diff options
context:
space:
mode:
authorKalle Wallin <kaw@linux.se>2004-06-18 14:21:01 +0000
committerKalle Wallin <kaw@linux.se>2004-06-18 14:21:01 +0000
commit5661324c51dd3af2bd3e3695b09502b65222f3db (patch)
treea627601506ca184bed0eb1ac8f82393896ab451e /src/utils.h
parentddf5964927e5fac05139e9345714f39e4cd686b6 (diff)
downloadmpd-5661324c51dd3af2bd3e3695b09502b65222f3db.tar.gz
mpd-5661324c51dd3af2bd3e3695b09502b65222f3db.tar.xz
mpd-5661324c51dd3af2bd3e3695b09502b65222f3db.zip
Added utils.c, utils.h to the project
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1555 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/utils.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/utils.h b/src/utils.h
new file mode 100644
index 000000000..998a0dece
--- /dev/null
+++ b/src/utils.h
@@ -0,0 +1,12 @@
+#ifndef UTILS_H
+#define UTILS_H
+
+/* functions for lists containing strings */
+GList *string_list_free(GList *string_list);
+GList *string_list_find(GList *string_list, gchar *str);
+GList *string_list_remove(GList *string_list, gchar *str);
+
+/* create a string list from path - used for completion */
+GList *gcmp_list_from_path(mpdclient_t *c, gchar *path, GList *list);
+
+#endif