*/
typedef struct libvlc_priv_t
{
+ libvlc_int_t public_data;
+
/* Configuration */
vlc_mutex_t config_lock; ///< config file lock
char * psz_configfile; ///< location of config file
/* Private playlist data (FIXME - playlist_t is too public...) */
sout_instance_t *p_sout; ///< kept sout instance (for playlist)
-
- /* Thread support */
- unsigned threads_count;
- vlc_mutex_t threads_lock;
- vlc_cond_t threads_wait;
-
-#ifdef WIN32
- vlc_object_t *ipc_helper;
-#endif
} libvlc_priv_t;
static inline libvlc_priv_t *libvlc_priv (libvlc_int_t *libvlc)
{
- return (libvlc_priv_t *)(libvlc + 1);
+ return (libvlc_priv_t *)libvlc;
}
void playlist_ServicesDiscoveryKillAll( playlist_t *p_playlist );
# define rewinddir vlc_rewinddir
#endif
-#ifndef HAVE_POLL
-# define _poll vlc_poll
-#endif
-
#endif