libdns: Small cleanup
[Samba.git] / source3 / registry / reg_perfcount.h
blobeb5cb2210078e35c24c68a5a30ad7be04fdd0258
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_t reg_perfcount_get_base_index(void);
28 uint32_t reg_perfcount_get_last_counter(uint32_t base_index);
29 uint32_t reg_perfcount_get_last_help(uint32_t last_counter);
30 uint32_t reg_perfcount_get_counter_help(uint32_t base_index, char **retbuf);
31 uint32_t reg_perfcount_get_counter_names(uint32_t base_index, char **retbuf);
32 WERROR reg_perfcount_get_hkpd(prs_struct *ps, uint32_t max_buf_size, uint32_t *outbuf_len, const char *object_ids);
34 #endif /* _REG_PERFCOUNT_H */