summaryrefslogtreecommitdiff
path: root/src/main.h
diff options
context:
space:
mode:
authorMichał Cichoń <michcic@gmail.com>2015-08-26 19:16:08 +0200
committerMichał Cichoń <michcic@gmail.com>2015-08-26 19:23:57 +0200
commit0ac2b95a1381dbed028058285529738a16466250 (patch)
tree83e9787d5e3834260598c6a4d3390d440a1104c2 /src/main.h
parentec8b31516e7f18dba73fcdf212b0353ddbef97f9 (diff)
downloadpianobar-windows-0ac2b95a1381dbed028058285529738a16466250.tar.gz
pianobar-windows-0ac2b95a1381dbed028058285529738a16466250.tar.bz2
pianobar-windows-0ac2b95a1381dbed028058285529738a16466250.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.h6
1 files changed, 4 insertions, 2 deletions
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 <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 */