From 0ac2b95a1381dbed028058285529738a16466250 Mon Sep 17 00:00:00 2001 From: Michał Cichoń Date: Wed, 26 Aug 2015 19:16:08 +0200 Subject: Drop curl in favor of WinHTTP Abstract out HTTP comunication and replace libcurl with WinHTTP. --- src/main.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/main.h') diff --git a/src/main.h b/src/main.h index 41413d9..f16a168 100644 --- a/src/main.h +++ b/src/main.h @@ -24,17 +24,19 @@ THE SOFTWARE. #ifndef SRC_MAIN_H_4ZGSCG6X #define SRC_MAIN_H_4ZGSCG6X -#include +//#include #include #include "player2.h" +#include "http.h" #include "settings.h" #include "ui_readline.h" typedef struct { PianoHandle_t ph; - CURL *http; + //CURL *http; + http_t http2; player2_t player; BarSettings_t settings; /* first item is current song */ -- cgit v1.2.3