summaryrefslogtreecommitdiff
path: root/libpiano/src/piano.h
diff options
context:
space:
mode:
authorLars-Dominik Braun <PromyLOPh@lavabit.com>2010-08-09 11:22:10 +0200
committerLars-Dominik Braun <PromyLOPh@lavabit.com>2010-08-09 12:01:58 +0200
commitbc3c92cb0e5a219d8f94a8bee6765885dbfc4333 (patch)
tree98208c5f72e06bd45956247bc69328f9e9a89f30 /libpiano/src/piano.h
parent2269c74007cbae25875f76195fdc8d548da8f0ce (diff)
downloadpianobar-bc3c92cb0e5a219d8f94a8bee6765885dbfc4333.tar.gz
pianobar-bc3c92cb0e5a219d8f94a8bee6765885dbfc4333.tar.bz2
pianobar-bc3c92cb0e5a219d8f94a8bee6765885dbfc4333.zip
Make something useful with misc.sync response
Calculcate offset to time() and use that offset to avoid out of sync errors.
Diffstat (limited to 'libpiano/src/piano.h')
-rw-r--r--libpiano/src/piano.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libpiano/src/piano.h b/libpiano/src/piano.h
index aba4ebd..6dac931 100644
--- a/libpiano/src/piano.h
+++ b/libpiano/src/piano.h
@@ -105,6 +105,7 @@ typedef struct PianoHandle {
/* linked lists */
PianoStation_t *stations;
PianoGenreCategory_t *genreStations;
+ int timeOffset;
} PianoHandle_t;
typedef struct PianoSearchResult {
@@ -147,6 +148,7 @@ typedef struct PianoRequest {
typedef struct {
char *user;
char *password;
+ unsigned char step;
} PianoRequestDataLogin_t;
typedef struct {