diff options
author | Raghavendra G <raghavendra@zresearch.com> | 2009-03-31 06:22:16 -0700 |
---|---|---|
committer | Anand V. Avati <avati@amp.gluster.com> | 2009-04-01 00:13:53 +0530 |
commit | 96b687b9b8d58fc70dfaaed42dbe1b35799117f8 (patch) | |
tree | 98b3ba495afad0007ed6ec50cf5d0736b9e0dcfa /libglusterfs/src/xlator.h | |
parent | c8ddd2588ae7d9890b2d30fd1dadc6f9b054d7f4 (diff) |
Add new type of option type INTERNET_ADDRESS for validation
- used to validate options like remote-host, bind-address.
- Also validate options of translators created during fetch of volume
specification file from remote server.
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
Diffstat (limited to 'libglusterfs/src/xlator.h')
-rw-r--r-- | libglusterfs/src/xlator.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libglusterfs/src/xlator.h b/libglusterfs/src/xlator.h index 2f35643c34c..fe50c8147fb 100644 --- a/libglusterfs/src/xlator.h +++ b/libglusterfs/src/xlator.h @@ -809,6 +809,7 @@ typedef enum { GF_OPTION_TYPE_PATH, GF_OPTION_TYPE_TIME, GF_OPTION_TYPE_DOUBLE, + GF_OPTION_TYPE_INTERNET_ADDRESS, } volume_option_type_t; #define ZR_VOLUME_MAX_NUM_KEY 4 |