X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-sig-handler.h;h=4f41324da4503150ec13c59bf4475302530ae3d9;hb=91f3e6ecdada77d57c8d92a955776fd8fe6d402e;hp=7ef28c30423297ffcfb9f48050ae6b9506afadee;hpb=c7e9786d408f13d8f8f43c6b68da916bbb1ed5f3;p=src%2Fapp-framework-binder.git diff --git a/src/afb-sig-handler.h b/src/afb-sig-handler.h index 7ef28c30..4f41324d 100644 --- a/src/afb-sig-handler.h +++ b/src/afb-sig-handler.h @@ -1,5 +1,5 @@ -/* - * Copyright (C) 2015, 2016 "IoT.bzh" +/* + * Copyright (C) 2015, 2016, 2017 "IoT.bzh" * Author "Fulup Ar Foll" * Author José Bollo * @@ -18,7 +18,11 @@ #pragma once +struct afb_req; + extern int afb_sig_handler_init(); extern void afb_sig_monitor(void (*function)(int sig, void*), void *closure, int timeout); +extern int afb_sig_req(struct afb_req req, void (*callback)(struct afb_req req)); +extern int afb_sig_req_timeout(struct afb_req req, void (*callback)(struct afb_req req), int timeout);