summaryrefslogtreecommitdiffstats
path: root/rpc/xdr
diff options
context:
space:
mode:
Diffstat (limited to 'rpc/xdr')
-rw-r--r--rpc/xdr/src/cli1-xdr.h1
-rw-r--r--rpc/xdr/src/cli1-xdr.x3
2 files changed, 3 insertions, 1 deletions
diff --git a/rpc/xdr/src/cli1-xdr.h b/rpc/xdr/src/cli1-xdr.h
index 524030f7f..fb77edb00 100644
--- a/rpc/xdr/src/cli1-xdr.h
+++ b/rpc/xdr/src/cli1-xdr.h
@@ -171,6 +171,7 @@ typedef enum gf_cli_status_type gf_cli_status_type;
enum gf1_cli_snapshot {
GF_SNAP_OPTION_TYPE_NONE = 0,
GF_SNAP_OPTION_TYPE_CREATE = 1,
+ GF_SNAP_OPTION_TYPE_LIST = 2,
};
typedef enum gf1_cli_snapshot gf1_cli_snapshot;
diff --git a/rpc/xdr/src/cli1-xdr.x b/rpc/xdr/src/cli1-xdr.x
index 98c093906..ed3242fb4 100644
--- a/rpc/xdr/src/cli1-xdr.x
+++ b/rpc/xdr/src/cli1-xdr.x
@@ -124,7 +124,8 @@ enum gf_cli_status_type {
/* Identifiers for snapshot clis */
enum gf1_cli_snapshot {
GF_SNAP_OPTION_TYPE_NONE,
- GF_SNAP_OPTION_TYPE_CREATE
+ GF_SNAP_OPTION_TYPE_CREATE,
+ GF_SNAP_OPTION_TYPE_LIST
};
struct gf_cli_req {