Threads: handles request with threads
[src/app-framework-binder.git] / src / afb-sig-handler.h
index 3c9626c..6fa000e 100644 (file)
 
 #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);