summaryrefslogtreecommitdiffstats
path: root/afb-timer.h
diff options
context:
space:
mode:
Diffstat (limited to 'afb-timer.h')
-rw-r--r--afb-timer.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/afb-timer.h b/afb-timer.h
index 5050436..1d1ebb7 100644
--- a/afb-timer.h
+++ b/afb-timer.h
@@ -30,7 +30,6 @@ extern "C" {
// ----------------------
typedef struct TimerHandleS {
- int magic;
int count;
int delay;
const char*uid;
@@ -43,11 +42,10 @@ typedef struct TimerHandleS {
typedef int (*timerCallbackT)(TimerHandleT *context);
-extern int TimerEvtInit (afb_api_t apiHandle);
-extern void TimerEvtStart(afb_api_t apiHandle, TimerHandleT *timerHandle, timerCallbackT callback, void *context);
+extern void TimerEvtStart(afb_api_t api, TimerHandleT *timerHandle, timerCallbackT callback, void *context);
extern void TimerEvtStop(TimerHandleT *timerHandle);
-extern uint64_t LockWait(afb_api_t apiHandle, uint64_t utimeout);
+extern uint64_t LockWait(afb_api_t api, uint64_t utimeout);
#ifdef __cplusplus
}
#endif