Code Review
/
src
/
app-framework-binder.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Threads: handles request with threads
[src/app-framework-binder.git]
/
src
/
afb-sig-handler.h
diff --git
a/src/afb-sig-handler.h
b/src/afb-sig-handler.h
index
3c9626c
..
6fa000e
100644
(file)
--- a/
src/afb-sig-handler.h
+++ b/
src/afb-sig-handler.h
@@
-18,7
+18,11
@@
#pragma once
#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_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);