X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Futil%2Ftimer.h;h=250e7e0bd33d16894dad86d347e3e8caff8c173d;hb=055e4228a91f9957771e44cbdc540f20b2c3aa17;hp=22a5ee3607334ef222c11fd25f945fba308fa0c9;hpb=bab0811f845cedb817a3c3a29dd91ade07d5a886;p=chaz%2Ftint2 diff --git a/src/util/timer.h b/src/util/timer.h index 22a5ee3..250e7e0 100644 --- a/src/util/timer.h +++ b/src/util/timer.h @@ -36,6 +36,12 @@ typedef struct _timeout timeout; * integral multiple of the other. **/ +/** default global data **/ +void default_timeout(); + +/** freed memory : stops all timeouts **/ +void cleanup_timeout(); + /** installs a timeout with the first timeout of 'value_msec' and then a periodic timeout with * 'interval_msec'. '_callback' is the callback function when the timer reaches the timeout. * returns a pointer to the timeout, which is needed for stopping it again @@ -48,9 +54,6 @@ void change_timeout(timeout* t, int value_msec, int interval_msec, void (*_callb /** stops the timeout 't' **/ void stop_timeout(timeout* t); -/** stops all timeouts **/ -void stop_all_timeouts(); - /** update_next_timeout updates next_timeout to the value, when the next installed timeout will expire **/ void update_next_timeout();