projects
/
trust_router.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Replace static monitor handler tables with dynamic handler registry
[trust_router.git]
/
include
/
mon_internal.h
diff --git
a/include/mon_internal.h
b/include/mon_internal.h
index
d2d1572
..
8e439d2
100644
(file)
--- a/
include/mon_internal.h
+++ b/
include/mon_internal.h
@@
-91,6
+91,7
@@
enum mon_resp_code {
enum mon_opt_type {
OPT_TYPE_UNKNOWN=0,
+ OPT_TYPE_ANY,
// System information
OPT_TYPE_SHOW_VERSION,
@@
-131,6
+132,7
@@
struct mons_instance {
MONS_REQ_FUNC *req_handler;
MONS_AUTH_FUNC *auth_handler;
void *cookie;
+ GPtrArray *handlers;
};
/* Client instance */