summaryrefslogtreecommitdiff
path: root/libpiano/src
diff options
context:
space:
mode:
authorLars-Dominik Braun <PromyLOPh@gmail.com>2008-06-20 21:17:42 +0200
committerLars-Dominik Braun <PromyLOPh@gmail.com>2008-06-20 21:30:00 +0200
commitde46efe8c127b8ca5245d1abf35d1011f1b9e7e1 (patch)
tree811aedde33fb89814d4354be9567f72065a03ff4 /libpiano/src
parentad3519948af6964d1545252caca9e78c3928bbf8 (diff)
downloadpianobar-de46efe8c127b8ca5245d1abf35d1011f1b9e7e1.tar.gz
pianobar-de46efe8c127b8ca5245d1abf35d1011f1b9e7e1.tar.bz2
pianobar-de46efe8c127b8ca5245d1abf35d1011f1b9e7e1.zip
piano: Disable some unused structure elements
They're wasting memory at the moment
Diffstat (limited to 'libpiano/src')
-rw-r--r--libpiano/src/piano.h44
1 files changed, 22 insertions, 22 deletions
diff --git a/libpiano/src/piano.h b/libpiano/src/piano.h
index f2b8f95..95cab26 100644
--- a/libpiano/src/piano.h
+++ b/libpiano/src/piano.h
@@ -31,37 +31,37 @@ THE SOFTWARE.
#include <curl/curl.h>
struct PianoUserInfo {
- unsigned int zipcode;
+ //unsigned int zipcode;
/* disabled: billingFrequency */
- signed hasExplicitContentFilter;
+ //char hasExplicitContentFilter;
char *webAuthToken;
/* disabled: alertCode */
/* disabled: seenQuickMixPanel */
- unsigned short birthYear;
- char *bookmarkUrl;
- char *listenerState; /* FIXME: use enum? */
+ //unsigned short birthYear;
+ //char *bookmarkUrl;
+ //char *listenerState; /* FIXME: use enum? */
/* disabled: adCookieValue */
/* disabled: gender */
/* disabled: emailOptIn */
/* disabled: autoRenew */
- char *username;
+ //char *username;
char *listenerId;
char *authToken;
- char *webName;
+ //char *webName;
};
typedef struct PianoUserInfo PianoUserInfo_t;
struct PianoStation {
- signed isCreator;
+ //char isCreator;
/* disabled: originalStationId */
- char **genre;
- unsigned int originalCreatorId;
+ //char **genre;
+ //unsigned int originalCreatorId;
/* disabled: initialSeed */
/* disabled: isNew */
/* disabled: transformType */
- char *idToken;
- signed isQuickMix;
+ //char *idToken;
+ //signed isQuickMix;
char *name;
char *id;
struct PianoStation *next;
@@ -73,36 +73,36 @@ typedef enum PianoSongRating PianoSongRating_t;
struct PianoSong {
char *artist;
- char **genre;
+ //char **genre;
char *matchingSeed;
/* disabled: composerName */
/* disabled: isSeed */
/* disabled: artistFansURL */
/* disabled: songExplorerUrl */
- float fileGain;
+ //float fileGain;
/* disabled: songDetailURL */
/* disabled: albumDetailURL */
- char *webId;
+ //char *webId;
/* disabled: musicComUrl */
/* disabled: fanExplorerUrl */
PianoSongRating_t rating;
/* disabled: artistExplorerUrl */
/* disabled: artRadio */
- char *audioEncoding; /* FIXME: should be enum: mp3 or aacplus */
- char *stationId;
- char *album;
- char *artistMusicId;
+ //char *audioEncoding; /* FIXME: should be enum: mp3 or aacplus */
+ //char *stationId;
+ //char *album;
+ //char *artistMusicId;
char *userSeed;
/* disabled: albumExplorerUrl */
/* disabled: amazonUrl */
char *audioUrl;
- signed onTour;
+ //signed onTour;
/* disabled: itunesUrl */
char *musicId;
char *title;
char *focusTraitId;
- char *identity;
- int score; /* only used for search results */
+ //char *identity;
+ //int score; /* only used for search results */
struct PianoSong *next;
};