summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/globals.h
diff options
context:
space:
mode:
authorGaurav <gaurav@gluster.com>2011-01-31 04:25:23 +0000
committerAnand V. Avati <avati@dev.gluster.com>2011-02-04 00:39:20 -0800
commitf3648c88ebc6d58a10854d564d3fc2c82290ce13 (patch)
treebf7d14ba0ae498e96d39fdd35d0f47c75b860acc /libglusterfs/src/globals.h
parentba40a3ece0a0b5b381e7d05c74d09cdd1818b817 (diff)
Logging : New uuid to string conversion functions.
Signed-off-by: Gaurav <gaurav@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 2308 (Threadsafe uuid to string conversion function) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2308
Diffstat (limited to 'libglusterfs/src/globals.h')
-rw-r--r--libglusterfs/src/globals.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libglusterfs/src/globals.h b/libglusterfs/src/globals.h
index 96a113623..665ec55e4 100644
--- a/libglusterfs/src/globals.h
+++ b/libglusterfs/src/globals.h
@@ -40,6 +40,8 @@ glusterfs_ctx_t *glusterfs_ctx_get ();
/* THIS */
#define THIS (*__glusterfs_this_location())
+#define GF_UUID_BUF_SIZE 50
+
xlator_t **__glusterfs_this_location ();
xlator_t *glusterfs_this_get ();
int glusterfs_this_set (xlator_t *);
@@ -54,6 +56,9 @@ void glusterfs_central_log_flag_unset ();
void *synctask_get ();
int synctask_set (void *);
+/* uuid_buf */
+char *glusterfs_uuid_buf_get();
+
/* init */
int glusterfs_globals_init (void);