source: branches/samba-3.3.x/source/include/rpc_perfcount.h@ 259

Last change on this file since 259 was 206, checked in by Herwig Bauernfeind, 17 years ago

Import Samba 3.3 branch at 3.0.0 level (psmedley's port)

File size: 3.8 KB
RevLine 
[206]1#ifndef _RPC_PERFCOUNT_H
2#define _RPC_PERFCOUNT_H
3/*
4 * Unix SMB/CIFS implementation.
5 * Virtual Windows Registry Layer
6 *
7 * Copyright (C) Marcin Krzysztof Porwit 2005,
8 * Copyright (C) Gerald (Jerry) Carter 2005.
9 *
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation; either version 3 of the License, or
13 * (at your option) any later version.
14 *
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
19 *
20 * You should have received a copy of the GNU General Public License
21 * along with this program; if not, see <http://www.gnu.org/licenses/>.
22 */
23
24typedef struct perf_counter_definition
25{
26 /* sizeof(PERF_COUNTER_DEFINITION) */
27 uint32 ByteLength;
28 uint32 CounterNameTitleIndex;
29 uint32 CounterNameTitlePointer;
30 uint32 CounterHelpTitleIndex;
31 uint32 CounterHelpTitlePointer;
32 uint32 DefaultScale;
33 uint32 DetailLevel;
34 uint32 CounterType;
35 uint32 CounterSize;
36 uint32 CounterOffset;
37}
38PERF_COUNTER_DEFINITION;
39
40typedef struct perf_counter_block
41{
42 /* Total size of the data block, including all data plus this header */
43 uint32 ByteLength;
44 uint8 *data;
45}
46PERF_COUNTER_BLOCK;
47
48typedef struct perf_instance_definition
49{
50 /* Total size of the instance definition, including the length of the terminated Name string */
51 uint32 ByteLength;