ctdb-tests: Update ctdb stub LVS tests and add some new ones
[Samba.git] / source3 / registry / reg_perfcount.h
blob515790ac52260d7bb419e5a592e2c58c0c00a70f
1 /*
2 * Unix SMB/CIFS implementation.
3 * Virtual Windows Registry Layer
5 * Copyright (C) Marcin Krzysztof Porwit 2005,
6 * Copyright (C) Gerald (Jerry) Carter 2005.
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 3 of the License, or
11 * (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, see <http://www.gnu.org/licenses/>.
22 #ifndef _REG_PERFCOUNT_H
23 #define _REG_PERFCOUNT_H
25 #include "reg_parse_prs.h"
27 uint32 reg_perfcount_get_base_index(void);
28 uint32 reg_perfcount_get_last_counter(uint32 base_index);
29 uint32 reg_perfcount_get_last_help(uint32 last_counter);
30 uint32 reg_perfcount_get_counter_help(uint32 base_index, char **retbuf);
31 uint32 reg_perfcount_get_counter_names(uint32 base_index, char **retbuf);
32 WERROR reg_perfcount_get_hkpd(prs_struct *ps, uint32 max_buf_size, uint32 *outbuf_len, const char *object_ids);
34 #endif /* _REG_PERFCOUNT_H */