summaryrefslogtreecommitdiff
path: root/atari/schedule.h
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2014-07-08 19:23:55 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2014-07-08 19:23:55 +0100
commit3c818abaea53b61c15393d1aeaefd1eba52f4d5c (patch)
tree13704d81d7041a4cd4bc44414baf0de6045021db /atari/schedule.h
parente7e914b6242a17abebb84ecfc5f0b1facaac4e94 (diff)
parent0694f345daa509546d79f31be285987f43cc5be3 (diff)
downloadnetsurf-3c818abaea53b61c15393d1aeaefd1eba52f4d5c.tar.gz
netsurf-3c818abaea53b61c15393d1aeaefd1eba52f4d5c.tar.bz2
Merge branch 'master' of git://git.netsurf-browser.org/netsurf
Diffstat (limited to 'atari/schedule.h')
-rwxr-xr-xatari/schedule.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/atari/schedule.h b/atari/schedule.h
index 47d8c2ddf..05eebb2d7 100755
--- a/atari/schedule.h
+++ b/atari/schedule.h
@@ -22,20 +22,23 @@
/**
* Process events up to current time.
+ *
+ * \return The number of miliseconds until the next scheduled event.
*/
int schedule_run(void);
/**
* Schedule a callback.
*
- * \param tival interval before the callback should be made in ms
- * \param callback callback function
- * \param p user parameter, passed to callback function
+ * \param ival interval before the callback should be made in miliseconds.
+ * \param callback callback function.
+ * \param p user parameter, passed to callback function.
+ * \return NSERROR_OK on success or appropriate error code.
*
- * The callback function will be called as soon as possible after t ms have
- * passed.
+ * The callback function will be called as soon as possible after \a ival
+ * ms have passed.
*/
-nserror atari_schedule(int cs_ival, void (*callback)(void *p), void *p);
+nserror atari_schedule(int ival, void (*callback)(void *p), void *p);
/**
* LOG all current scheduled events.