diff options
author | Lars-Dominik Braun <PromyLOPh@gmail.com> | 2008-07-07 20:48:10 +0200 |
---|---|---|
committer | Lars-Dominik Braun <PromyLOPh@gmail.com> | 2008-07-07 20:48:10 +0200 |
commit | 51edb36f6bd9d119c12ef893ecc1d3541f80b00a (patch) | |
tree | fca5a33058212558b2bfe566ad4e1f629d378d28 /libpiano/src/piano.h | |
parent | 701177ef5b4005d8f03c7f9f47081bb4e7c46517 (diff) | |
download | pianobar-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.h | 3 |
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 *); |