From bc3c92cb0e5a219d8f94a8bee6765885dbfc4333 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Mon, 9 Aug 2010 11:22:10 +0200 Subject: Make something useful with misc.sync response Calculcate offset to time() and use that offset to avoid out of sync errors. --- libpiano/src/piano.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libpiano/src/piano.h') 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 { -- cgit v1.2.3