c6b76a53606bdbd72879a43d96885e4860946a39
[kamenim/samba.git] / source3 / registry / reg_perfcount.h
1 /* 
2  *  Unix SMB/CIFS implementation.
3  *  Virtual Windows Registry Layer
4  *
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.
12  *  
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.
17  *  
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/>.
20  */
21
22 #ifndef _REG_PERFCOUNT_H
23 #define _REG_PERFCOUNT_H
24
25 void perfcount_init_keys( void );
26 uint32 reg_perfcount_get_base_index(void);
27 uint32 reg_perfcount_get_last_counter(uint32 base_index);
28 uint32 reg_perfcount_get_last_help(uint32 last_counter);
29 uint32 reg_perfcount_get_counter_help(uint32 base_index, char **retbuf);
30 uint32 reg_perfcount_get_counter_names(uint32 base_index, char **retbuf);
31 WERROR reg_perfcount_get_hkpd(prs_struct *ps, uint32 max_buf_size, uint32 *outbuf_len, const char *object_ids);
32
33 #endif /* _REG_PERFCOUNT_H */