From 1d757228d9acb1d09ce966fe68b87fc067b9d9af Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Tue, 2 Oct 2018 14:59:25 +0200 Subject: Get rid of the support of API version 2 and DYNAPI Change-Id: I24d99de6fe5d1d639392315926ca23f60a137fc4 Signed-off-by: Romain Forlot --- ctl-lib/ctl-timer.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ctl-lib/ctl-timer.h') diff --git a/ctl-lib/ctl-timer.h b/ctl-lib/ctl-timer.h index a65a906..ffc8f82 100644 --- a/ctl-lib/ctl-timer.h +++ b/ctl-lib/ctl-timer.h @@ -35,18 +35,18 @@ typedef struct TimerHandleS { const char*uid; void *context; sd_event_source *evtSource; - AFB_ApiT api; + afb_api_t api; int (*callback) (struct TimerHandleS *handle); int (*freeCB) (void *context) ; } TimerHandleT; typedef int (*timerCallbackT)(TimerHandleT *context); -extern int TimerEvtInit (AFB_ApiT apiHandle); -extern void TimerEvtStart(AFB_ApiT apiHandle, TimerHandleT *timerHandle, timerCallbackT callback, void *context); +extern int TimerEvtInit (afb_api_t apiHandle); +extern void TimerEvtStart(afb_api_t apiHandle, TimerHandleT *timerHandle, timerCallbackT callback, void *context); extern void TimerEvtStop(TimerHandleT *timerHandle); -extern uint64_t LockWait(AFB_ApiT apiHandle, uint64_t utimeout); +extern uint64_t LockWait(afb_api_t apiHandle, uint64_t utimeout); #ifdef __cplusplus } #endif -- cgit 1.2.3-korg