vlc_spinlock_t spin;
/* Objects management */
+ vlc_spinlock_t ref_spin;
unsigned i_refcount;
vlc_destructor_t pf_destructor;
bool b_attached;
/* Configuration */
vlc_mutex_t config_lock; ///< config file lock
char * psz_configfile; ///< location of config file
- char *psz_configdir; ///< user configuration directory
- char *psz_datadir; ///< user data directory
- char *psz_cachedir; ///< user cache directory
/* There is no real reason to keep a list of items, but not to break
* everything, let's keep it */
/// (needs cleanup)
module_t *p_memcpy_module; ///< Fast memcpy plugin used
- vlm_t *p_vlm; ///< VLM if created from libvlc-common.c
+ playlist_t *p_playlist; //< the playlist singleton
+ vlm_t *p_vlm; ///< the VLM singleton (or NULL)
vlc_object_t *p_interaction; ///< interface interaction object
httpd_t *p_httpd; ///< HTTP daemon (src/network/httpd.c)
} libvlc_priv_t;
return (libvlc_priv_t *)(libvlc + 1);
}
-static inline bool libvlc_stats (vlc_object_t *obj)
-{
- return libvlc_priv (obj->p_libvlc)->b_stats;
-}
+#define libvlc_stats( o ) (libvlc_priv((VLC_OBJECT(o))->p_libvlc)->b_stats)
/**
* LibVLC "main module" configuration settings array.