diff options
author | Michał Cichoń <michcic@gmail.com> | 2015-08-26 19:16:08 +0200 |
---|---|---|
committer | Michał Cichoń <michcic@gmail.com> | 2015-08-26 19:16:08 +0200 |
commit | 37ece1613d957f6b717826e0ca44bc676ff20e0b (patch) | |
tree | bbb2119dd1b807188fd9b4c3f732df5dc33fa0c7 /src/main.h | |
parent | ec8b31516e7f18dba73fcdf212b0353ddbef97f9 (diff) | |
download | pianobar-windows-37ece1613d957f6b717826e0ca44bc676ff20e0b.tar.gz pianobar-windows-37ece1613d957f6b717826e0ca44bc676ff20e0b.tar.bz2 pianobar-windows-37ece1613d957f6b717826e0ca44bc676ff20e0b.zip |
Drop curl in favor of WinHTTP
Abstract out HTTP comunication and replace libcurl with WinHTTP.
Diffstat (limited to 'src/main.h')
-rw-r--r-- | src/main.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -24,17 +24,19 @@ THE SOFTWARE. #ifndef SRC_MAIN_H_4ZGSCG6X #define SRC_MAIN_H_4ZGSCG6X -#include <curl/curl.h> +//#include <curl/curl.h> #include <piano.h> #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 */ |