summaryrefslogtreecommitdiffstats
path: root/include/rpcsvc/sm_inter.x
diff options
context:
space:
mode:
Diffstat (limited to 'include/rpcsvc/sm_inter.x')
-rw-r--r--include/rpcsvc/sm_inter.x5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/rpcsvc/sm_inter.x b/include/rpcsvc/sm_inter.x
index f5bf545..6e1862b 100644
--- a/include/rpcsvc/sm_inter.x
+++ b/include/rpcsvc/sm_inter.x
@@ -62,6 +62,7 @@ program SM_PROG {
struct sm_stat SM_UNMON_ALL(struct my_id) = 4;
void SM_SIMU_CRASH(void) = 5;
+ void SM_NOTIFY(struct stat_chge) = 6;
} = 1;
} = 100024;
@@ -90,6 +91,10 @@ struct mon{
opaque priv[16]; /* private information to store at monitor for requesting process */
};
+struct stat_chge {
+ string mon_name<SM_MAXSTRLEN>; /* name of the site that had the state change */
+ int state;
+};
/*
* state # of status monitor monitonically increases each time
OpenPOWER on IntegriCloud