* GNU General Public License for more details.
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
*/
#ifndef MOC_H_
char *curtime;
char *bitrate;
char *rate;
- timed_thread *timed_thread;
};
+extern struct moc_s moc;
-void init_moc(struct moc_s *moc);
-void *update_moc(void *) __attribute__((noreturn));
-void free_moc(struct moc_s *moc);
+int run_moc_thread(double interval);
+void free_moc(void);
#endif /* MOC_H_ */