summaryrefslogtreecommitdiffstats
path: root/rpc/xdr/src/nsm.x
diff options
context:
space:
mode:
authorHarshavardhana <harsha@harshavardhana.net>2014-04-22 13:27:35 -0700
committerAnand Avati <avati@redhat.com>2014-04-25 13:29:25 -0700
commit9819fcedf10f1430d4969c86e6df4dfe975b7dcf (patch)
treea4ce5b4d8e5666fe6dd66147b5a360670bf51363 /rpc/xdr/src/nsm.x
parent40675af8b4a1a90331e353295c75c0ea63457cf6 (diff)
rpcgen: Remove autogenerated files instead build on demand
Avoid modifying autogenerated files and keeping them in repository - autogenerate them on demand from ".x" files Change-Id: I2cdb1fe9b99768ceb80a8cb100fa00bd1d8fe2c6 BUG: 1090807 Signed-off-by: Harshavardhana <harsha@harshavardhana.net> Reviewed-on: http://review.gluster.org/7526 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Niels de Vos <ndevos@redhat.com> Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'rpc/xdr/src/nsm.x')
-rw-r--r--rpc/xdr/src/nsm.x47
1 files changed, 0 insertions, 47 deletions
diff --git a/rpc/xdr/src/nsm.x b/rpc/xdr/src/nsm.x
deleted file mode 100644
index 8f97b1aaa1f..00000000000
--- a/rpc/xdr/src/nsm.x
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
- * This defines the maximum length of the string
- * identifying the caller.
- */
-const SM_MAXSTRLEN = 1024;
-
-struct sm_name {
- string mon_name<SM_MAXSTRLEN>;
-};
-
-enum res {
- STAT_SUCC = 0, /* NSM agrees to monitor. */
- STAT_FAIL = 1 /* NSM cannot monitor. */
-};
-
-struct sm_stat_res {
- res res_stat;
- int state;
-};
-
-struct sm_stat {
- int state; /* state number of NSM */
-};
-
-struct my_id {
- string my_name<SM_MAXSTRLEN>; /* hostname */
- int my_prog; /* RPC program number */
- int my_vers; /* program version number */
- int my_proc; /* procedure number */
-};
-
-struct mon_id {
- string mon_name<SM_MAXSTRLEN>; /* name of the host to be monitored */
- struct my_id my_id;
-};
-
-struct mon {
- struct mon_id mon_id;
- opaque priv[16]; /* private information */
-};
-
-struct nsm_callback_status {
- string mon_name<SM_MAXSTRLEN>;
- int state;
- opaque priv[16]; /* for private information */
-};
-