aboutsummaryrefslogtreecommitdiffstats
path: root/src/songvec.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/songvec.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/songvec.h b/src/songvec.h
index 0373ed3e7..14e08d773 100644
--- a/src/songvec.h
+++ b/src/songvec.h
@@ -1,27 +1,28 @@
#ifndef SONGVEC_H
#define SONGVEC_H
-#include "song.h"
#include "os_compat.h"
struct songvec {
- Song **base;
+ struct song **base;
size_t nr;
};
void songvec_sort(struct songvec *sv);
-Song *
+struct song *
songvec_find(const struct songvec *sv, const char *url);
-int songvec_delete(struct songvec *sv, const Song *del);
+int
+songvec_delete(struct songvec *sv, const struct song *del);
-void songvec_add(struct songvec *sv, Song *add);
+void
+songvec_add(struct songvec *sv, struct song *add);
void songvec_destroy(struct songvec *sv);
int
songvec_for_each(const struct songvec *sv,
- int (*fn)(Song *, void *), void *arg);
+ int (*fn)(struct song *, void *), void *arg);
#endif /* SONGVEC_H */