4 Copyright (C) Amitay Isaacs 2016
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 3 of the License, or
9 (at your option) any later version.
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, see <http://www.gnu.org/licenses/>.
20 #ifndef __CTDB_TUNABLE_H__
21 #define __CTDB_TUNABLE_H__
23 void ctdb_tunable_set_defaults(struct ctdb_tunable_list
*tun_list
);
24 bool ctdb_tunable_get_value(struct ctdb_tunable_list
*tun_list
,
25 const char *tunable_str
, uint32_t *value
);
26 bool ctdb_tunable_set_value(struct ctdb_tunable_list
*tun_list
,
27 const char *tunable_str
, uint32_t value
,
29 struct ctdb_var_list
*ctdb_tunable_names(TALLOC_CTX
*mem_ctx
);
30 char *ctdb_tunable_names_to_string(TALLOC_CTX
*mem_ctx
);
32 #endif /* __CTDB_TUNABLE_H__ */