]> git.proxmox.com Git - ceph.git/blame - ceph/src/common/config_validators.h
bump version to 12.1.1-pve1 while rebasing patches
[ceph.git] / ceph / src / common / config_validators.h
CommitLineData
7c673cae
FG
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
31f18b77
FG
14int validate(md_config_t::option_rbd_default_pool_t *type,
15 std::string *value, std::string *error_message);
16int validate(md_config_t::option_rbd_default_data_pool_t *type,
17 std::string *value, std::string *error_message);
7c673cae
FG
18int validate(md_config_t::option_rbd_default_features_t *type,
19 std::string *value, std::string *error_message);
20
21#endif // CEPH_CONFIG_VALIDATORS