summaryrefslogtreecommitdiff
path: root/src/ui.h
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2015-04-06 12:25:13 +0200
committerLars-Dominik Braun <lars@6xq.net>2015-04-06 12:25:13 +0200
commit4458cbab76fd98989fa2d4260dd20bbbd66297a4 (patch)
tree832c7230129b50c278044cb9f4aabe711697ee69 /src/ui.h
parentb13b61b77b6d58c8b541bc4628b998681e94875f (diff)
downloadpianobar-windows-4458cbab76fd98989fa2d4260dd20bbbd66297a4.tar.gz
pianobar-windows-4458cbab76fd98989fa2d4260dd20bbbd66297a4.tar.bz2
pianobar-windows-4458cbab76fd98989fa2d4260dd20bbbd66297a4.zip
Switch back to libcurl
Drops libwaitress. Adds the new dependency libcurl and drops gnutls. I wouldn’t say writing my own HTTP library was a mistake – it was not and the experience gained was worth it. Instead I have to acknowledge that libcurl is just better than my own implementation. Sure, it does a lot more than HTTP – one could call that bloat. Yet if you just want to get the job done™ reusing code is the way to go. See #512 and #513.
Diffstat (limited to 'src/ui.h')
-rw-r--r--src/ui.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ui.h b/src/ui.h
index 60262f8..f49ec62 100644
--- a/src/ui.h
+++ b/src/ui.h
@@ -27,7 +27,6 @@ THE SOFTWARE.
#include <stdbool.h>
#include <piano.h>
-#include <waitress.h>
#include "settings.h"
#include "player.h"
@@ -50,9 +49,9 @@ void BarUiPrintSong (const BarSettings_t *, const PianoSong_t *,
size_t BarUiListSongs (const BarSettings_t *, const PianoSong_t *, const char *);
void BarUiStartEventCmd (const BarSettings_t *, const char *,
const PianoStation_t *, const PianoSong_t *, const player_t *,
- PianoStation_t *, PianoReturn_t, WaitressReturn_t);
+ PianoStation_t *, PianoReturn_t, CURLcode);
int BarUiPianoCall (BarApp_t * const, PianoRequestType_t,
- void *, PianoReturn_t *, WaitressReturn_t *);
+ void *, PianoReturn_t *, CURLcode *);
void BarUiHistoryPrepend (BarApp_t *app, PianoSong_t *song);
#endif /* SRC_UI_H_46P20TS0 */