summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/glusterfs
diff options
context:
space:
mode:
authorAmar Tumballi <amarts@redhat.com>2019-04-24 22:29:55 +0530
committerAmar Tumballi <amarts@redhat.com>2019-04-29 12:09:19 +0000
commit5ba81308d58b26f8baff17b44c235d68f88d5f19 (patch)
treeaeeed262688479491f9f2dc81753f5bf1e3e79dc /libglusterfs/src/glusterfs
parentd23e918d954e985b13295ba00353e4f47759e59e (diff)
libglusterfs: remove compound-fop helper functions
updates: bz#1693692 Change-Id: If69702990af273be1f38855ba56b3b89fabff167 Signed-off-by: Amar Tumballi <amarts@redhat.com>
Diffstat (limited to 'libglusterfs/src/glusterfs')
-rw-r--r--libglusterfs/src/glusterfs/compound-fop-utils.h36
1 files changed, 0 insertions, 36 deletions
diff --git a/libglusterfs/src/glusterfs/compound-fop-utils.h b/libglusterfs/src/glusterfs/compound-fop-utils.h
deleted file mode 100644
index 1226e328704..00000000000
--- a/libglusterfs/src/glusterfs/compound-fop-utils.h
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- Copyright (c) 2016 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 __COMPOUND_FOP_UTILS_H__
-#define __COMPOUND_FOP_UTILS_H__
-
-#include "glusterfs/defaults.h"
-#include "glusterfs/default-args.h"
-#include "glusterfs/mem-types.h"
-#include "glusterfs/dict.h"
-
-#define COMPOUND_PACK_ARGS(fop, fop_enum, args, counter, params...) \
- do { \
- args->enum_list[counter] = fop_enum; \
- args_##fop##_store(&args->req_list[counter], params); \
- } while (0)
-
-compound_args_t *
-compound_fop_alloc(int length, glusterfs_compound_fop_t fop, dict_t *xdata);
-
-void
-compound_args_cleanup(compound_args_t *args);
-
-void
-compound_args_cbk_cleanup(compound_args_cbk_t *args_cbk);
-
-compound_args_cbk_t *
-compound_args_cbk_alloc(int length, dict_t *xdata);
-#endif /* __COMPOUND_FOP_UTILS_H__ */