diff options
Diffstat (limited to 'libglusterfs/src/globals.h')
-rw-r--r-- | libglusterfs/src/globals.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libglusterfs/src/globals.h b/libglusterfs/src/globals.h index 033e0186310..bf73f2e6671 100644 --- a/libglusterfs/src/globals.h +++ b/libglusterfs/src/globals.h @@ -14,6 +14,7 @@ #define GF_DEFAULT_BASE_PORT 24007 #define GF_DEFAULT_VOLFILE_TRANSPORT "tcp" +#define GF_GLOBAL_XLATOR_NAME "global" #define GD_OP_VERSION_KEY "operating-version" #define GD_MIN_OP_VERSION_KEY "minimum-operating-version" #define GD_MAX_OP_VERSION_KEY "maximum-operating-version" @@ -106,6 +107,8 @@ xlator_t **__glusterfs_this_location (void); xlator_t *glusterfs_this_get (void); int glusterfs_this_set (xlator_t *); +extern xlator_t global_xlator; + /* syncopctx */ void *syncopctx_getctx (void); int syncopctx_setctx (void *ctx); |