diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2015-04-06 12:25:13 +0200 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2015-04-06 12:25:13 +0200 |
commit | 4458cbab76fd98989fa2d4260dd20bbbd66297a4 (patch) | |
tree | 832c7230129b50c278044cb9f4aabe711697ee69 /src/ui.h | |
parent | b13b61b77b6d58c8b541bc4628b998681e94875f (diff) | |
download | pianobar-4458cbab76fd98989fa2d4260dd20bbbd66297a4.tar.gz pianobar-4458cbab76fd98989fa2d4260dd20bbbd66297a4.tar.bz2 pianobar-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.h | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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 */ |