diff options
Diffstat (limited to 'src/afb-sig-handler.h')
-rw-r--r-- | src/afb-sig-handler.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/afb-sig-handler.h b/src/afb-sig-handler.h index 3c9626cb..6fa000e9 100644 --- a/src/afb-sig-handler.h +++ b/src/afb-sig-handler.h @@ -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); |