From 27c4a47c29cf64eb1049d758b5ecbe86f2ddd9d6 Mon Sep 17 00:00:00 2001 From: Evan Huus Date: Thu, 19 Sep 2013 13:04:37 +0000 Subject: Enum was used after all. Restore it and namespace it with GLUSTER_ to avoid the collision. svn path=/trunk/; revision=52144 --- epan/dissectors/packet-gluster.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'epan/dissectors/packet-gluster.h') diff --git a/epan/dissectors/packet-gluster.h b/epan/dissectors/packet-gluster.h index b89f6dcd21..c147f41cd4 100644 --- a/epan/dissectors/packet-gluster.h +++ b/epan/dissectors/packet-gluster.h @@ -357,6 +357,20 @@ enum gf_fop_procnum { GFS3_OP_MAXVALUE }; +/* dir-entry types from libglusterfs/src/compat.h */ +enum gluster_entry_types { + GLUSTER_DT_UNKNOWN = 0, + GLUSTER_DT_FIFO = 1, + GLUSTER_DT_CHR = 2, + GLUSTER_DT_DIR = 4, + GLUSTER_DT_BLK = 6, + GLUSTER_DT_REG = 8, + GLUSTER_DT_LNK = 10, + GLUSTER_DT_SOCK = 12, + GLUSTER_DT_WHT = 14 +}; + + /* LOCKING operators come from libglusterfs/src/glusterfs.h */ /* based on original enum glusterfs_lk_cmds_t */ -- cgit v1.2.3