X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-sig-handler.h;h=4f41324da4503150ec13c59bf4475302530ae3d9;hb=7cd20a135f6d2df212fb6aefdc3ee0a6949a740d;hp=3c9626cbf3d2fc17c9e384d8b988b68f1382279e;hpb=bbddc1e584dd01b60042f622f8cecfc69361020b;p=src%2Fapp-framework-binder.git diff --git a/src/afb-sig-handler.h b/src/afb-sig-handler.h index 3c9626cb..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);