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,16 +24,10 @@
 % * 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 {

@@ -96,25 +90,25 @@
  */
 struct sm_stat {
         int state;              /* state # of status monitor */
 };
 
-enum res {
+enum sm_res {
         stat_succ = 0,          /* status monitor agrees to monitor */
         stat_fail = 1           /* status monitor cannot monitor */
 };
 
 struct sm_stat_res {
-        res res_stat;
+        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 status {
+struct sm_status {
         string mon_name<SM_MAXSTRLEN>;
         int state;
         opaque priv[16];                /* stored private information */
 };