Import Upstream version 1.8.5
[hcoop/debian/openafs.git] / src / rxstat / rxstat.xg
1 /*
2 * Copyright 2000, International Business Machines Corporation and others.
3 * All Rights Reserved.
4 *
5 * This software has been released under the terms of the IBM Public
6 * License. For details, see the LICENSE file in the top-level source
7 * directory or online at http://www.openafs.org/dl/license10.html
8 */
9
10 typedef afs_uint32 rpcStats<>;
11
12 prefix M
13
14 package RXSTATS_
15 statindex 9
16
17 RetrieveProcessRPCStats(
18 IN afs_uint32 clientVersion,
19 OUT afs_uint32 *serverVersion,
20 OUT afs_uint32 *clock_sec,
21 OUT afs_uint32 *clock_usec,
22 OUT afs_uint32 *stat_count,
23 OUT rpcStats *stats
24 ) multi;
25
26 RetrievePeerRPCStats(
27 IN afs_uint32 clientVersion,
28 OUT afs_uint32 *serverVersion,
29 OUT afs_uint32 *stat_count,
30 OUT afs_uint32 *clock_sec,
31 OUT afs_uint32 *clock_usec,
32 OUT rpcStats *stats
33 ) multi;
34
35 QueryProcessRPCStats(
36 OUT afs_int32 *on
37 );
38
39 QueryPeerRPCStats(
40 OUT afs_int32 *on
41 );
42
43 EnableProcessRPCStats();
44 EnablePeerRPCStats();
45
46 DisableProcessRPCStats();
47 DisablePeerRPCStats();
48
49 QueryRPCStatsVersion(
50 OUT afs_uint32 *ver
51 );
52
53 ClearProcessRPCStats(
54 IN afs_uint32 clearFlag
55 );
56
57 ClearPeerRPCStats(
58 IN afs_uint32 clearFlag
59 );