summaryrefslogtreecommitdiff
path: root/src/os/ObjectStore.h
diff options
context:
space:
mode:
authorDavid Zafman <david.zafman@inktank.com>2013-09-23 13:02:16 -0700
committerDavid Zafman <david.zafman@inktank.com>2013-09-23 13:12:42 -0700
commit4f7526a785692795ee29f7101b8b18482b4c6e11 (patch)
treeb77c9ccdcae405d4980168274defb813595a91d4 /src/os/ObjectStore.h
parent164149209dec088c6255fb9ab79f65c152f19ba5 (diff)
downloadceph-wip-5862.tar.gz
Temporary collection_list* funcs in ObjectStore to do ghobject_t to hobject_t conversionwip-5862
Signed-off-by: David Zafman <david.zafman@inktank.com>
Diffstat (limited to 'src/os/ObjectStore.h')
-rw-r--r--src/os/ObjectStore.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/os/ObjectStore.h b/src/os/ObjectStore.h
index aea12c2aa2c..07473b344f5 100644
--- a/src/os/ObjectStore.h
+++ b/src/os/ObjectStore.h
@@ -950,6 +950,16 @@ public:
virtual int collection_list_range(coll_t c, ghobject_t start, ghobject_t end,
snapid_t seq, vector<ghobject_t> *ls) = 0;
+ //TODO: Remove
+ int collection_list(coll_t c, vector<hobject_t>& o);
+
+ int collection_list_partial(coll_t c, hobject_t start,
+ int min, int max, snapid_t snap,
+ vector<hobject_t> *ls, hobject_t *next);
+
+ int collection_list_range(coll_t c, hobject_t start, hobject_t end,
+ snapid_t seq, vector<hobject_t> *ls);
+
/// OMAP
/// Get omap contents
virtual int omap_get(