summaryrefslogtreecommitdiff
path: root/libpiano/src/piano.h
diff options
context:
space:
mode:
authorLars-Dominik Braun <PromyLOPh@lavabit.com>2008-12-13 21:24:55 +0100
committerLars-Dominik Braun <PromyLOPh@lavabit.com>2008-12-13 21:24:55 +0100
commit785819ed369fae59aef20a09779eaa0a627a8709 (patch)
tree77095a2cb723f05dc71db60d548ba15ef101b34c /libpiano/src/piano.h
parent1b3fe191ec75a1183de747f033fdb00741329b9f (diff)
downloadpianobar-785819ed369fae59aef20a09779eaa0a627a8709.tar.gz
pianobar-785819ed369fae59aef20a09779eaa0a627a8709.tar.bz2
pianobar-785819ed369fae59aef20a09779eaa0a627a8709.zip
piano: New error STATION_CODE_INVALID
Diffstat (limited to 'libpiano/src/piano.h')
-rw-r--r--libpiano/src/piano.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libpiano/src/piano.h b/libpiano/src/piano.h
index f311743..e294b4a 100644
--- a/libpiano/src/piano.h
+++ b/libpiano/src/piano.h
@@ -149,11 +149,11 @@ struct PianoSearchResult {
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_PROTOCOL_INCOMPATIBLE, PIANO_RET_READONLY_MODE};
+ PIANO_RET_PROTOCOL_INCOMPATIBLE, PIANO_RET_READONLY_MODE,
+ PIANO_RET_STATION_CODE_INVALID};
typedef enum PianoReturn PianoReturn_t;
void PianoInit (PianoHandle_t *);