X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-thread.h;h=4e44b55e7e0e9f663f428c9ae17108de794af910;hb=1a64df64ca126fb1e0dbe08c432d3c015d4ac458;hp=e25f90ecb70c03cf3468b8f69b95ed52d936e7ee;hpb=98a5bca16007a7c4740c4326ef83768d034aed3e;p=src%2Fapp-framework-binder.git diff --git a/src/afb-thread.h b/src/afb-thread.h index e25f90ec..4e44b55e 100644 --- a/src/afb-thread.h +++ b/src/afb-thread.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2016 "IoT.bzh" + * Copyright (C) 2016, 2017 "IoT.bzh" * Author José Bollo * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -19,13 +19,5 @@ struct afb_req; -extern void afb_thread_call(struct afb_req req, void (*callback)(struct afb_req req), int timeout, void *group); - -extern int afb_thread_init(int allowed_count, int start_count, int waiter_count); -extern void afb_thread_terminate(); - -extern int afb_thread_timer_create(); -extern int afb_thread_timer_arm(int timeout); -extern void afb_thread_timer_disarm(); -extern void afb_thread_timer_delete(); +extern void afb_thread_req_call(struct afb_req req, void (*callback)(struct afb_req req), int timeout, void *group);