Print this page
195 Need replacement for nfs/lockd+klm
Reviewed by: Gordon Ross <gordon.ross@nexenta.com>
Reviewed by: Jeremy Jones <jeremy@delphix.com>
Reviewed by: Jeff Biseda <jbiseda@delphix.com>

*** 24,39 **** % * All rights reserved. % */ %/* from sm_inter.x */ - #ifdef RPC_HDR - % - %#pragma ident "%Z%%M% %I% %E% SMI" - % - #endif - /* * Status monitor protocol specification */ program SM_PROG { --- 24,33 ----
*** 96,120 **** */ struct sm_stat { int state; /* state # of status monitor */ }; ! enum res { stat_succ = 0, /* status monitor agrees to monitor */ stat_fail = 1 /* status monitor cannot monitor */ }; struct sm_stat_res { ! res res_stat; int state; }; /* * structure of the status message sent by the status monitor to the * requesting program when a monitored site changes status. */ ! struct status { string mon_name<SM_MAXSTRLEN>; int state; opaque priv[16]; /* stored private information */ }; --- 90,114 ---- */ struct sm_stat { int state; /* state # of status monitor */ }; ! enum sm_res { stat_succ = 0, /* status monitor agrees to monitor */ stat_fail = 1 /* status monitor cannot monitor */ }; struct sm_stat_res { ! sm_res res_stat; int state; }; /* * structure of the status message sent by the status monitor to the * requesting program when a monitored site changes status. */ ! struct sm_status { string mon_name<SM_MAXSTRLEN>; int state; opaque priv[16]; /* stored private information */ };