summaryrefslogtreecommitdiffstats
path: root/xlators/lib/src/libxlator.h
diff options
context:
space:
mode:
authorVijay Bellur <vijay@gluster.com>2012-03-02 22:21:01 +0530
committerVijay Bellur <vijay@gluster.com>2012-03-02 23:40:32 -0800
commit8127a6f35ec3090505cdfbbf28798b4da63a1688 (patch)
treee8a4fb09fec52dcb8f0a1349a57397aa30c164ea /xlators/lib/src/libxlator.h
parent532f2d36e72b4e30984e437ca5a3507de5e897d9 (diff)
Refactor xlator/lib for better readability & maintainability.v3.2.6qa4
Change-Id: I26532f1bf7cab58b5870a6117f2a62288ee1f23d BUG: 789078 Signed-off-by: Vijay Bellur <vijay@gluster.com> Reviewed-on: http://review.gluster.com/2859 Reviewed-by: Pranith Kumar Karampuri <pranithk@gluster.com> Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'xlators/lib/src/libxlator.h')
-rw-r--r--xlators/lib/src/libxlator.h22
1 files changed, 21 insertions, 1 deletions
diff --git a/xlators/lib/src/libxlator.h b/xlators/lib/src/libxlator.h
index af7eb434a93..75a36379848 100644
--- a/xlators/lib/src/libxlator.h
+++ b/xlators/lib/src/libxlator.h
@@ -1,3 +1,21 @@
+/*Copyright (c) 2008-2012 Red Hat, Inc. <http://www.redhat.com>
+ This file is part of GlusterFS.
+
+ GlusterFS is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published
+ by the Free Software Foundation; either version 3 of the License,
+ or (at your option) any later version.
+
+ GlusterFS is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see
+ <http://www.gnu.org/licenses/>.
+*/
+
#ifndef _LIBXLATOR_H
#define _LIBXLATOR_H
@@ -58,8 +76,10 @@ struct marker_str {
char *vol_uuid;
};
+typedef struct marker_str xl_marker_local_t;
+
static inline gf_boolean_t
-marker_has_volinfo (struct marker_str *marker)
+marker_has_volinfo (xl_marker_local_t *marker)
{
if (marker->volmark)
return _gf_true;