aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils.h')
-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