summaryrefslogtreecommitdiff
path: root/libpiano/src/piano.h
diff options
context:
space:
mode:
authorLars-Dominik Braun <PromyLOPh@gmail.com>2008-08-20 10:47:31 +0200
committerLars-Dominik Braun <PromyLOPh@gmail.com>2008-08-20 10:47:31 +0200
commit858ecd45441218b20c2592a0f27ff247e9425bba (patch)
tree4fa578585b017af5b0a816a25df62711c74c9a81 /libpiano/src/piano.h
parentea106accd3e4557bb3553838f11e051858de236f (diff)
downloadpianobar-858ecd45441218b20c2592a0f27ff247e9425bba.tar.gz
pianobar-858ecd45441218b20c2592a0f27ff247e9425bba.tar.bz2
pianobar-858ecd45441218b20c2592a0f27ff247e9425bba.zip
piano: New error INCOMPATIBLE_VERSION
Raised when pandora bumps their protocol url/version
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 ae4b18b..8160b2c 100644
--- a/libpiano/src/piano.h
+++ b/libpiano/src/piano.h
@@ -152,7 +152,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_NET_ERROR, PIANO_RET_NOT_AUTHORIZED};
+ PIANO_RET_NET_ERROR, PIANO_RET_NOT_AUTHORIZED,
+ PIANO_RET_PROTOCOL_INCOMPATIBLE};
typedef enum PianoReturn PianoReturn_t;
void PianoInit (PianoHandle_t *);