]> git.proxmox.com Git - ceph.git/blob - ceph/src/common/config_validators.h
update sources to v12.1.0
[ceph.git] / ceph / src / common / config_validators.h
1 // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
2 // vim: ts=8 sw=2 smarttab
3
4 #ifndef CEPH_CONFIG_VALIDATORS
5 #define CEPH_CONFIG_VALIDATORS
6
7 #include "config.h"
8 #include <string>
9
10 /**
11 * Global config value validators for the Ceph project
12 */
13
14 int validate(md_config_t::option_rbd_default_pool_t *type,
15 std::string *value, std::string *error_message);
16 int validate(md_config_t::option_rbd_default_data_pool_t *type,
17 std::string *value, std::string *error_message);
18 int validate(md_config_t::option_rbd_default_features_t *type,
19 std::string *value, std::string *error_message);
20
21 #endif // CEPH_CONFIG_VALIDATORS