Commit d62129ac authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Hide fetcher and prepase typedefs

parent a8108e04
...@@ -170,8 +170,6 @@ typedef struct playlist_export_t playlist_export_t; ...@@ -170,8 +170,6 @@ typedef struct playlist_export_t playlist_export_t;
typedef struct services_discovery_t services_discovery_t; typedef struct services_discovery_t services_discovery_t;
typedef struct services_discovery_sys_t services_discovery_sys_t; typedef struct services_discovery_sys_t services_discovery_sys_t;
typedef struct playlist_add_t playlist_add_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 */ /* Modules */
typedef struct module_bank_t module_bank_t; typedef struct module_bank_t module_bank_t;
......
...@@ -37,22 +37,15 @@ ...@@ -37,22 +37,15 @@
#include "input/input_internal.h" #include "input/input_internal.h"
#include <assert.h> #include <assert.h>
struct playlist_private_t typedef struct playlist_preparse_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
{ {
VLC_COMMON_MEMBERS VLC_COMMON_MEMBERS
vlc_mutex_t lock; vlc_mutex_t lock;
int i_waiting; int i_waiting;
input_item_t **pp_waiting; input_item_t **pp_waiting;
}; } playlist_preparse_t;
struct playlist_fetcher_t typedef struct playlist_fetcher_t
{ {
VLC_COMMON_MEMBERS VLC_COMMON_MEMBERS
vlc_mutex_t lock; vlc_mutex_t lock;
...@@ -61,6 +54,13 @@ struct playlist_fetcher_t ...@@ -61,6 +54,13 @@ struct playlist_fetcher_t
input_item_t **pp_waiting; input_item_t **pp_waiting;
DECL_ARRAY(playlist_album_t) albums; 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 */
}; };
/***************************************************************************** /*****************************************************************************
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment