unsigned int update_item(unsigned int id, unsigned int msecs)

function to be called, when a timer is reset.

Documentation

function to be called, when a timer is reset. Basically calls get_item(), saves the function pointer, updates the execution time (msecs milliseconds from now) and removes the item from the list. Then calls insert_item with the updated timer_item struct.
Parameters:
tlist - pointer to the timer_list instance
id - id of the timer to be updated
msecs - action to be executed msecs ms from _now_
Returns:
new timer_id, 0 if a pointer was NULL or other error

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.