summaryrefslogtreecommitdiffstats
path: root/src/librbd/io/IoOperations.h
blob: 93d3ef4fefacd45f316b1bdb9ac8cc85b88c2d77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab

#pragma once

#include <string>
#include <ostream>

namespace librbd {
namespace io {

  std::string rbd_io_operations_to_string(uint64_t ops,
                                          std::ostream *err);
  uint64_t rbd_io_operations_from_string(const std::string& value,
                                         std::ostream *err);

} // namespace io
} // namespace librbd