projects
/
trust_router.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Clean up monitoring format/naming
[trust_router.git]
/
include
/
mon_internal.h
diff --git
a/include/mon_internal.h
b/include/mon_internal.h
index
4dac054
..
29ea514
100644
(file)
--- a/
include/mon_internal.h
+++ b/
include/mon_internal.h
@@
-95,7
+95,7
@@
enum mon_opt_type {
// System information
OPT_TYPE_SHOW_VERSION,
// System information
OPT_TYPE_SHOW_VERSION,
- OPT_TYPE_SHOW_
SERIAL
,
+ OPT_TYPE_SHOW_
CONFIG_FILES
,
// System statistics
OPT_TYPE_SHOW_UPTIME,
// System statistics
OPT_TYPE_SHOW_UPTIME,
@@
-105,7
+105,10
@@
enum mon_opt_type {
// Dynamic trust router state
OPT_TYPE_SHOW_ROUTES,
// Dynamic trust router state
OPT_TYPE_SHOW_ROUTES,
- OPT_TYPE_SHOW_COMMUNITIES
+ OPT_TYPE_SHOW_PEERS,
+ OPT_TYPE_SHOW_COMMUNITIES,
+ OPT_TYPE_SHOW_REALMS,
+ OPT_TYPE_SHOW_RP_CLIENTS
};
struct mon_opt {
};
struct mon_opt {
@@
-134,6
+137,7
@@
struct mons_instance {
MONS_AUTH_FUNC *auth_handler;
void *cookie;
GPtrArray *handlers;
MONS_AUTH_FUNC *auth_handler;
void *cookie;
GPtrArray *handlers;
+ GArray *pids; /* PIDs of active mons processes */
};
/* Client instance */
};
/* Client instance */