X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-sig-handler.h;h=4f41324da4503150ec13c59bf4475302530ae3d9;hb=a758d774aa5dacc07d2840f1b7ccef793863389f;hp=3d0249a21362edce768195ec7a21871e357a2396;hpb=36a165503297903204be32a07e0440ca56dac7f0;p=src%2Fapp-framework-binder.git diff --git a/src/afb-sig-handler.h b/src/afb-sig-handler.h index 3d0249a2..4f41324d 100644 --- a/src/afb-sig-handler.h +++ b/src/afb-sig-handler.h @@ -1,5 +1,5 @@ -/* - * Copyright (C) 2015 "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);