diff options
author | Anand Avati <avati@redhat.com> | 2012-07-12 15:37:38 -0700 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2012-07-18 12:10:44 -0700 |
commit | 2475e0193c4b4a37028bd8168113d6cd6949fe0e (patch) | |
tree | cc11b8a64601a94ac9c0603e3bc12eee9c796b56 /api/src/glfs-mem-types.h | |
parent | 162505c019934c13aadf63ed82d4532d5cf5ca82 (diff) |
gfapi: API/library for accessing gluster volumes
Change-Id: Ie4cbcf91b58218bebf23cf951c313aceeb29f311
BUG: 839950
Signed-off-by: Anand Avati <avati@redhat.com>
Reviewed-on: http://review.gluster.com/3664
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Jeff Darcy <jdarcy@redhat.com>
Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com>
Reviewed-by: Bharata B Rao <bharata.rao@gmail.com>
Diffstat (limited to 'api/src/glfs-mem-types.h')
-rw-r--r-- | api/src/glfs-mem-types.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/api/src/glfs-mem-types.h b/api/src/glfs-mem-types.h new file mode 100644 index 00000000000..dc5da30557a --- /dev/null +++ b/api/src/glfs-mem-types.h @@ -0,0 +1,28 @@ +/* + Copyright (c) 2012 Red Hat, Inc. <http://www.redhat.com> + This file is part of GlusterFS. + + This file is licensed to you under your choice of the GNU Lesser + General Public License, version 3 or any later version (LGPLv3 or + later), or the GNU General Public License, version 2 (GPLv2), in all + cases as published by the Free Software Foundation. +*/ + +#ifndef _GLFS_MEM_TYPES_H +#define _GLFS_MEM_TYPES_H + +#include "mem-types.h" + +#define GF_MEM_TYPE_START (gf_common_mt_end + 1) + +enum glfs_mem_types_ { + glfs_mt_glfs_t, + glfs_mt_call_pool_t, + glfs_mt_xlator_t, + glfs_mt_glfs_fd_t, + glfs_mt_glfs_io_t, + glfs_mt_end + +}; +#endif + |