summaryrefslogtreecommitdiff
path: root/libpiano/src/http.h
diff options
context:
space:
mode:
authorLars-Dominik Braun <PromyLOPh@gmail.com>2008-07-07 20:48:10 +0200
committerLars-Dominik Braun <PromyLOPh@gmail.com>2008-07-07 20:48:10 +0200
commit51edb36f6bd9d119c12ef893ecc1d3541f80b00a (patch)
treefca5a33058212558b2bfe566ad4e1f629d378d28 /libpiano/src/http.h
parent701177ef5b4005d8f03c7f9f47081bb4e7c46517 (diff)
downloadpianobar-51edb36f6bd9d119c12ef893ecc1d3541f80b00a.tar.gz
pianobar-51edb36f6bd9d119c12ef893ecc1d3541f80b00a.tar.bz2
pianobar-51edb36f6bd9d119c12ef893ecc1d3541f80b00a.zip
piano: Handle network errors
Diffstat (limited to 'libpiano/src/http.h')
-rw-r--r--libpiano/src/http.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/libpiano/src/http.h b/libpiano/src/http.h
index 87dc49c..a62be66 100644
--- a/libpiano/src/http.h
+++ b/libpiano/src/http.h
@@ -23,6 +23,9 @@ THE SOFTWARE.
#ifndef _HTTP_H
#define _HTTP_H
-void PianoHttpPost (CURL *ch, char *url, char *postData, char **retData);
+#include "piano.h"
+
+PianoReturn_t PianoHttpPost (CURL *ch, char *url, char *postData,
+ char **retData);
#endif /* _HTTP_H */