From d62129ac74220d751b528a24c12e4dfb3a764f2e Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Denis-Courmont?= Date: Sun, 14 Sep 2008 11:35:41 +0300 Subject: [PATCH] Hide fetcher and prepase typedefs --- include/vlc_common.h | 2 -- src/playlist/playlist_internal.h | 20 ++++++++++---------- 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/include/vlc_common.h b/include/vlc_common.h index 2cb64a02f1..3190e669db 100644 --- a/include/vlc_common.h +++ b/include/vlc_common.h @@ -170,8 +170,6 @@ typedef struct playlist_export_t playlist_export_t; typedef struct services_discovery_t services_discovery_t; typedef struct services_discovery_sys_t services_discovery_sys_t; typedef struct playlist_add_t playlist_add_t; -typedef struct playlist_preparse_t playlist_preparse_t; -typedef struct playlist_fetcher_t playlist_fetcher_t; /* Modules */ typedef struct module_bank_t module_bank_t; diff --git a/src/playlist/playlist_internal.h b/src/playlist/playlist_internal.h index cdc4f3cc10..4a4f75a456 100644 --- a/src/playlist/playlist_internal.h +++ b/src/playlist/playlist_internal.h @@ -37,22 +37,15 @@ #include "input/input_internal.h" #include -struct playlist_private_t -{ - playlist_preparse_t *p_preparse; /**< Preparser object */ - playlist_fetcher_t *p_fetcher; /**< Meta and art fetcher object */ - sout_instance_t *p_sout; /**< Kept sout instance */ -}; - -struct playlist_preparse_t +typedef struct playlist_preparse_t { VLC_COMMON_MEMBERS vlc_mutex_t lock; int i_waiting; input_item_t **pp_waiting; -}; +} playlist_preparse_t; -struct playlist_fetcher_t +typedef struct playlist_fetcher_t { VLC_COMMON_MEMBERS vlc_mutex_t lock; @@ -61,6 +54,13 @@ struct playlist_fetcher_t input_item_t **pp_waiting; DECL_ARRAY(playlist_album_t) albums; +} playlist_fetcher_t; + +struct playlist_private_t +{ + playlist_preparse_t *p_preparse; /**< Preparser object */ + playlist_fetcher_t *p_fetcher; /**< Meta and art fetcher object */ + sout_instance_t *p_sout; /**< Kept sout instance */ }; /***************************************************************************** -- 2.39.2