projects
/
trust_router.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Collect return codes from monitoring handlers and indicate errors
[trust_router.git]
/
include
/
mons_handlers.h
diff --git
a/include/mons_handlers.h
b/include/mons_handlers.h
index
50bdd43
..
48a01b3
100644
(file)
--- a/
include/mons_handlers.h
+++ b/
include/mons_handlers.h
@@
-36,7
+36,7
@@
#ifndef TRUST_ROUTER_MONS_HANDLERS_H
#define TRUST_ROUTER_MONS_HANDLERS_H
-typedef
json_t *(MONS_HANDLER_FUNC)(void *
);
+typedef
MON_RC (MONS_HANDLER_FUNC)(void *cookie, json_t **result_ptr
);
struct mons_dispatch_table_entry {
MON_CMD command;