From: RĂ©mi Denis-Courmont Date: Sun, 14 Sep 2008 08:35:41 +0000 (+0300) Subject: Hide fetcher and prepase typedefs X-Git-Tag: 1.0.0-pre1~3263 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=d62129ac74220d751b528a24c12e4dfb3a764f2e;p=vlc Hide fetcher and prepase typedefs --- 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 */ }; /*****************************************************************************