From 11473a6a10aaa5e62050e7e52115e2f8f10de124 Mon Sep 17 00:00:00 2001 From: Anand Avati Date: Thu, 27 Mar 2014 08:03:52 -0700 Subject: common-utils: new dirent compatible time fmt Introduce a new time format without "/" and spaces, in order to be used in (virtual) filenames. Change-Id: I468be54f1ec7f45265add4c458e19d95567439f7 BUG: 1089216 Signed-off-by: Anand Avati Reviewed-on: http://review.gluster.org/7507 Tested-by: Gluster Build System Reviewed-by: Pranith Kumar Karampuri --- libglusterfs/src/common-utils.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libglusterfs/src/common-utils.h') diff --git a/libglusterfs/src/common-utils.h b/libglusterfs/src/common-utils.h index 26dcd3147..e17029dba 100644 --- a/libglusterfs/src/common-utils.h +++ b/libglusterfs/src/common-utils.h @@ -480,6 +480,7 @@ typedef enum { gf_timefmt_Ymd_T, /* YYYY/MM-DD-hh:mm:ss */ gf_timefmt_bdT, /* ddd DD hh:mm:ss */ gf_timefmt_F_HMS, /* YYYY-MM-DD hhmmss */ + gf_timefmt_dirent, gf_timefmt_last } gf_timefmts; -- cgit