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
Improves naming of session's module
[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
3d0249a
..
4f41324
100644
(file)
--- a/
src/afb-sig-handler.h
+++ b/
src/afb-sig-handler.h
@@
-1,5
+1,5
@@
-/*
- * Copyright (C) 2015 "IoT.bzh"
+/*
+ * Copyright (C) 2015
, 2016, 2017
"IoT.bzh"
* Author "Fulup Ar Foll"
* Author José Bollo <jose.bollo@iot.bzh>
*
* Author "Fulup Ar Foll"
* Author José Bollo <jose.bollo@iot.bzh>
*
@@
-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);