X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=src%2Fmoc.h;h=324c2902fbaa632fc383aab85e8b77a187cf0f53;hb=3293e076c500eef4ca11a72bfb6954412c341228;hp=3545b54786f28eb52b32e342dd6587a7b19c4573;hpb=39270e951f00c08d8449d2280caf98edcc964d99;p=monky diff --git a/src/moc.h b/src/moc.h index 3545b54..324c290 100644 --- a/src/moc.h +++ b/src/moc.h @@ -1,4 +1,6 @@ -/* MOC Conky integration +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- + * + * MOC Conky integration * * Please see COPYING for details * @@ -16,7 +18,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . * - * $Id$ */ + */ #ifndef MOC_H_ #define MOC_H_ @@ -35,12 +37,11 @@ struct moc_s { 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 update_moc(void); +void free_moc(void); #endif /* MOC_H_ */