X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-sig-handler.h;h=6fa000e9533bd3e8ff73b675cbb414bfb330bfe0;hb=36e53e878baaa9d56c09097ada0b7061266caff8;hp=7ef28c30423297ffcfb9f48050ae6b9506afadee;hpb=8112056eecede587bf884f56629858c8b21bdbec;p=src%2Fapp-framework-binder.git diff --git a/src/afb-sig-handler.h b/src/afb-sig-handler.h index 7ef28c30..6fa000e9 100644 --- a/src/afb-sig-handler.h +++ b/src/afb-sig-handler.h @@ -1,4 +1,4 @@ -/* +/* * Copyright (C) 2015, 2016 "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);