diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2019-01-04 14:24:11 +0100 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2019-01-04 14:37:24 +0100 |
commit | aba89b590ef0d1743dd0aa82a8b8ed1bf8809909 (patch) | |
tree | c29aa2571f0d315ccf14616828ac2fb39275f6ae /afb-timer.h | |
parent | a1976ff1b2bccc8689182505828f7e3814d0d21b (diff) |
Little code cleaning.
Rename apiHandle to api.
Add a missing parameter to QAfbWebsocketClient::call function
comment.
Change-Id: I6fb1acd7357fbea3132cd429e9477a1a0b8a4f43
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'afb-timer.h')
-rw-r--r-- | afb-timer.h | 6 |
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 |