unit tests: allow make test to correctly and quickly exit in case of problem while...
[Samba.git] / source3 / registry / reg_perfcount.h
blob671153f21c71866f171b13c4935f1420b9869735
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 void perfcount_init_keys( void );
28 uint32 reg_perfcount_get_base_index(void);
29 uint32 reg_perfcount_get_last_counter(uint32 base_index);
30 uint32 reg_perfcount_get_last_help(uint32 last_counter);
31 uint32 reg_perfcount_get_counter_help(uint32 base_index, char **retbuf);
32 uint32 reg_perfcount_get_counter_names(uint32 base_index, char **retbuf);
33 WERROR reg_perfcount_get_hkpd(prs_struct *ps, uint32 max_buf_size, uint32 *outbuf_len, const char *object_ids);
35 #endif /* _REG_PERFCOUNT_H */