+#if defined(XMMS) || defined(BMP) || defined(AUDACIOUS) || defined(INFOPIPE)
+struct xmms_s {
+ unsigned int project_mask;
+ unsigned int current_project;
+ xmms_t items; /* e.g. items[XMMS_STATUS] yields char[] */
+ int runnable; /* used to signal worker thread to stop */
+ pthread_t thread; /* worker thread for xmms updating */
+ pthread_attr_t thread_attr; /* thread attributes */
+ pthread_mutex_t item_mutex; /* mutex for item array */
+ pthread_mutex_t runnable_mutex; /* mutex for runnable flag */
+};
+#endif
+