+/**
+ * Private LibVLC instance data.
+ */
+typedef struct libvlc_priv_t
+{
+ vlc_mutex_t config_lock; ///< config file lock
+
+ /* Messages */
+ msg_bank_t msg_bank; ///< The message bank
+ int i_verbose; ///< info messages
+ bool b_color; ///< color messages?
+
+ /* Timer stats */
+ vlc_mutex_t timer_lock; ///< Lock to protect timers
+ counter_t **pp_timers; ///< Array of all timers
+ int i_timers; ///< Number of timers
+ bool b_stats; ///< Whether to collect stats
+
+ module_t *p_memcpy_module; ///< Fast memcpy plugin used
+ vlm_t *p_vlm; ///< VLM if created from libvlc-common.c
+
+ httpd_t *p_httpd; ///< HTTP daemon (src/network/httpd.c)
+} libvlc_priv_t;
+
+static inline libvlc_priv_t *libvlc_priv (libvlc_int_t *libvlc)
+{
+ return (libvlc_priv_t *)(libvlc + 1);
+}
+
+static inline bool libvlc_stats (vlc_object_t *obj)
+{
+ return libvlc_priv (obj->p_libvlc)->b_stats;
+}
+
+/**
+ * LibVLC "main module" configuration settings array.
+ */