From 4458cbab76fd98989fa2d4260dd20bbbd66297a4 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Mon, 6 Apr 2015 12:25:13 +0200 Subject: Switch back to libcurl MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- src/main.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/main.h') diff --git a/src/main.h b/src/main.h index 12887ea..c8134ae 100644 --- a/src/main.h +++ b/src/main.h @@ -24,8 +24,9 @@ THE SOFTWARE. #ifndef SRC_MAIN_H_4ZGSCG6X #define SRC_MAIN_H_4ZGSCG6X +#include + #include -#include #include "player.h" #include "settings.h" @@ -33,7 +34,7 @@ THE SOFTWARE. typedef struct { PianoHandle_t ph; - WaitressHandle_t waith; + CURL *http; player_t player; BarSettings_t settings; /* first item is current song */ -- cgit v1.2.3