summaryrefslogtreecommitdiff
path: root/libpiano/src/piano.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/piano.h
parent701177ef5b4005d8f03c7f9f47081bb4e7c46517 (diff)
downloadpianobar-51edb36f6bd9d119c12ef893ecc1d3541f80b00a.tar.gz
pianobar-51edb36f6bd9d119c12ef893ecc1d3541f80b00a.tar.bz2
pianobar-51edb36f6bd9d119c12ef893ecc1d3541f80b00a.zip
piano: Handle network errors
Diffstat (limited to 'libpiano/src/piano.h')
-rw-r--r--libpiano/src/piano.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libpiano/src/piano.h b/libpiano/src/piano.h
index 2e67424..3dc512f 100644
--- a/libpiano/src/piano.h
+++ b/libpiano/src/piano.h
@@ -141,7 +141,8 @@ typedef struct PianoSearchResult PianoSearchResult_t;
/* FIXME: more error types (http failed, e.g.) later */
enum PianoReturn {PIANO_RET_OK, PIANO_RET_ERR, PIANO_RET_XML_INVALID,
- PIANO_RET_AUTH_TOKEN_INVALID, PIANO_RET_AUTH_USER_PASSWORD_INVALID};
+ PIANO_RET_AUTH_TOKEN_INVALID, PIANO_RET_AUTH_USER_PASSWORD_INVALID,
+ PIANO_RET_NET_ERROR};
typedef enum PianoReturn PianoReturn_t;
void PianoInit (PianoHandle_t *);