]>
git.proxmox.com Git - ceph.git/blob - ceph/src/test/librados/test.h
1 // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
2 // vim: ts=8 sw=2 smarttab
4 * Ceph - scalable distributed file system
6 * Copyright (C) 2011 New Dream Network
8 * This is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public
10 * License version 2.1, as published by the Free Software
11 * Foundation. See file COPYING.
15 #ifndef CEPH_TEST_RADOS_API_TEST_H
16 #define CEPH_TEST_RADOS_API_TEST_H
18 #include "include/rados/librados.h"
19 #include "test/librados/test_shared.h"
25 std::string
create_one_pool(const std::string
&pool_name
, rados_t
*cluster
,
27 std::string
create_one_ec_pool(const std::string
&pool_name
, rados_t
*cluster
);
28 std::string
connect_cluster(rados_t
*cluster
);
29 int destroy_one_pool(const std::string
&pool_name
, rados_t
*cluster
);
30 int destroy_one_ec_pool(const std::string
&pool_name
, rados_t
*cluster
);