rtask.h
Go to the documentation of this file.
00001
00054 #ifndef KERNEL_RTASK_H
00055 #define KERNEL_RTASK_H
00056 
00057 #include <cfg/compiler.h>
00058
00059 struct RTask;
00060 typedef bool (*rtask_cb_t)(void *user_data);
00061 typedef struct RTask RTask;
00062
00063 struct RTask *rtask_add(rtask_cb_t cb, mtime_t interval, void *cb_data);
00064
00065 /* Test functions */
00066 int rtask_testRun(void);
00067 int rtask_testSetup(void);
00068 int rtask_testTearDown(void);
00069
00070 #endif /* KERNEL_RTASK_H */