summaryrefslogtreecommitdiffstats
path: root/src/librbd/Features.h
blob: 6a88827cf26c62aa09b7ec190f00d41897ac1be1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// -*- 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 {

  std::string rbd_features_to_string(uint64_t features,
				     std::ostream *err);
  uint64_t rbd_features_from_string(const std::string& value,
				    std::ostream *err);

} // librbd