aboutsummaryrefslogtreecommitdiffstats
path: root/src/mpdclient.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/mpdclient.h66
1 files changed, 30 insertions, 36 deletions
diff --git a/src/mpdclient.h b/src/mpdclient.h
index 787839193..6da4d0f3b 100644
--- a/src/mpdclient.h
+++ b/src/mpdclient.h
@@ -20,53 +20,47 @@
/* Playlist */
/****************************************************************************/
-typedef struct
-{
- /* playlist id */
- long long id;
- /* true if the list is updated */
- gboolean updated;
- /* the list */
- GArray *list;
+typedef struct {
+ /* playlist id */
+ long long id;
+ /* true if the list is updated */
+ gboolean updated;
+ /* the list */
+ GArray *list;
} mpdclient_playlist_t;
-
-typedef struct
-{
- guint flags;
- mpd_InfoEntity *entity;
+typedef struct {
+ guint flags;
+ mpd_InfoEntity *entity;
} filelist_entry_t;
-typedef struct
-{
- /* path */
- gchar *path;
- /* list length */
- guint length;
- /* true if the list is updated */
- gboolean updated;
- /* the list */
- GList *list;
+typedef struct {
+ /* path */
+ gchar *path;
+ /* list length */
+ guint length;
+ /* true if the list is updated */
+ gboolean updated;
+ /* the list */
+ GList *list;
} mpdclient_filelist_t;
-typedef struct
-{
- /* playlist */
- mpdclient_playlist_t playlist;
-
- /* Callbacks */
- GList *error_callbacks;
- GList *playlist_callbacks;
- GList *browse_callbacks;
+typedef struct {
+ /* playlist */
+ mpdclient_playlist_t playlist;
- mpd_Connection *connection;
- mpd_Status *status;
- mpd_Song *song;
+ /* Callbacks */
+ GList *error_callbacks;
+ GList *playlist_callbacks;
+ GList *browse_callbacks;
- gboolean need_update;
+ mpd_Connection *connection;
+ mpd_Status *status;
+ mpd_Song *song;
+ gboolean need_update;
} mpdclient_t;
/** functions ***************************************************************/