summaryrefslogtreecommitdiff
path: root/libpiano/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'libpiano/src/main.c')
-rw-r--r--libpiano/src/main.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libpiano/src/main.c b/libpiano/src/main.c
index 698ce6e..42c51bf 100644
--- a/libpiano/src/main.c
+++ b/libpiano/src/main.c
@@ -712,6 +712,11 @@ PianoReturn_t PianoSetQuickmix (PianoHandle_t *ph) {
return ret;
}
+/* get station from list by id
+ * @param search here
+ * @param search for this
+ * @return the first station structure matching the given id
+ */
PianoStation_t *PianoFindStationById (PianoStation_t *stations,
const char *searchStation) {
while (stations != NULL) {