+#ifdef BMPX
+void update_bmpx();
+struct bmpx_s {
+ char *title;
+ char *artist;
+ char *album;
+ char *uri;
+ int bitrate;
+ int track;
+};
+#endif
+
+#ifdef INFOPIPE
+#include "infopipe.h"
+struct infopipe_s {
+ infopipe_t items; /* e.g. items[INFOPIPE_STATUS] yields char[] */
+ int runnable; /* used to signal infopipe thread to stop */
+ pthread_t thread; /* worker thread for infopipe 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
+