aboutsummaryrefslogtreecommitdiffstats
path: root/src/mpdclient.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-09-16 19:11:36 +0200
committerMax Kellermann <max@duempel.org>2008-09-16 19:11:36 +0200
commit995f5d3e3b6b7f35e44dfe050b7741b67ce13014 (patch)
tree0f0cb4a2e28c4c973762bfad2fe57d0a69668359 /src/mpdclient.h
parentff86aacd52311a9da80a147226d28f46b35f2ef8 (diff)
downloadmpd-995f5d3e3b6b7f35e44dfe050b7741b67ce13014.tar.gz
mpd-995f5d3e3b6b7f35e44dfe050b7741b67ce13014.tar.xz
mpd-995f5d3e3b6b7f35e44dfe050b7741b67ce13014.zip
code style, indent with tabs II
Follow the same code style als MPD itself.
Diffstat (limited to 'src/mpdclient.h')
-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 ***************************************************************/