From f3648c88ebc6d58a10854d564d3fc2c82290ce13 Mon Sep 17 00:00:00 2001 From: Gaurav Date: Mon, 31 Jan 2011 04:25:23 +0000 Subject: Logging : New uuid to string conversion functions. Signed-off-by: Gaurav Signed-off-by: Anand V. Avati BUG: 2308 (Threadsafe uuid to string conversion function) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2308 --- libglusterfs/src/globals.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libglusterfs/src/globals.h') 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); -- cgit