Coda Distributed File System
db.h
Go to the documentation of this file.
1#ifndef _BLURB_
2#define _BLURB_
3/*
4
5 Coda: an Experimental Distributed File System
6 Release 6
7
8 Copyright (c) 1987-2003 Carnegie Mellon University
9 All Rights Reserved
10
11Permission to use, copy, modify and distribute this software and its
12documentation is hereby granted, provided that both the copyright
13notice and this permission notice appear in all copies of the
14software, derivative works or modified versions, and any portions
15thereof, and that both notices appear in supporting documentation, and
16that credit is given to Carnegie Mellon University in all documents
17and publicity pertaining to direct or indirect use of this code or its
18derivatives.
19
20CODA IS AN EXPERIMENTAL SOFTWARE SYSTEM AND IS KNOWN TO HAVE BUGS,
21SOME OF WHICH MAY HAVE SERIOUS CONSEQUENCES. CARNEGIE MELLON ALLOWS
22FREE USE OF THIS SOFTWARE IN ITS "AS IS" CONDITION. CARNEGIE MELLON
23DISCLAIMS ANY LIABILITY OF ANY KIND FOR ANY DAMAGES WHATSOEVER
24RESULTING DIRECTLY OR INDIRECTLY FROM THE USE OF THIS SOFTWARE OR OF
25ANY DERIVATIVE WORK.
26
27Carnegie Mellon encourages users of this software to return any
28improvements or extensions that they make, and to grant Carnegie
29Mellon the rights to redistribute these changes without encumbrance.
30*/
31#endif /*_BLURB_*/
32
33#ifdef __cplusplus
34
35extern int ReportSession(VmonVenusId *, VmonSessionId, VolumeId, UserId,
36 VmonAVSG *, RPC2_Unsigned, RPC2_Unsigned,
37 RPC2_Unsigned, VmonSessionEventArray *,
38 SessionStatistics *, CacheStatistics *);
39extern int ReportCommEvent(VmonVenusId *, RPC2_Unsigned, RPC2_Integer,
40 RPC2_Unsigned, VmonCommEventType);
41
42extern int ReportClientCall(VmonVenusId *, long, unsigned long,
44
45extern int ReportClientMCall(VmonVenusId *, long, unsigned long,
47
48extern int ReportClientRVM(VmonVenusId *, long, RvmStatistics *);
49
50extern int ReportVCB(VmonVenusId *, long, long, VolumeId, VCBStatistics *);
51
52extern int ReportAdviceCall(VmonVenusId *, long, UserId, AdviceStatistics *,
53 unsigned long, AdviceCalls *, unsigned long,
54 AdviceResults *);
55
56extern int ReportMiniCache(VmonVenusId *, RPC2_Integer, RPC2_Unsigned,
57 VmonMiniCacheStat *, RPC2_Unsigned,
58 VmonMiniCacheStat *);
59extern int ReportOverflow(VmonVenusId *, RPC2_Unsigned, RPC2_Unsigned,
62extern int ReportSrvCall(SmonViceId *, unsigned long, unsigned long,
63 CallCountEntry *, unsigned long, CallCountEntry *,
64 unsigned long, CallCountEntry *, unsigned long,
65 CallCountEntry *, unsigned long, MultiCallEntry *,
66 SmonStatistics *);
67extern int ReportResEvent(SmonViceId *, unsigned long, VolumeId, long, long,
68 long, long, ResOpEntry *);
69extern int ReportRvmResEvent(SmonViceId *, unsigned long, unsigned long,
70 FileResStats *, DirResStats *, long, HistoElem *,
71 long, HistoElem *, ResConflictStats *, long,
72 HistoElem *, long, HistoElem *, ResLogStats *,
73 long, HistoElem *, long, HistoElem *);
74extern int ReportSrvOvrflw(SmonViceId *, unsigned long, unsigned long,
75 unsigned long, long);
76
77extern int ReportIotInfoCall(VmonVenusId *, IOT_INFO *, RPC2_Integer,
79
80extern int ReportIotStatsCall(VmonVenusId *, RPC2_Integer, IOT_STAT *);
81
82extern int ReportSubtreeCall(VmonVenusId *, RPC2_Integer, LocalSubtreeStats *);
83
84extern int ReportRepairCall(VmonVenusId *, RPC2_Integer, RepairSessionStats *);
85
86extern int ReportRwsStatsCall(VmonVenusId *, RPC2_Integer,
87 ReadWriteSharingStats *);
88
89extern int ReportDiscoQ(DiscoMissQ *);
90extern int ReportReconnQ(ReconnQ *);
91
92extern int InitDB(char *);
93extern int CloseDB();
94extern void UpdateDB();
95extern void UnlockTables();
96
97#else /*__cplusplus */
98
99extern int ReportSession();
100extern int ReportCommEvent();
101extern int ReportClientCall();
102extern int ReportMiniCache();
103extern int ReportOverflow();
104extern int ReportSrvCall();
105extern int ReportResEvent();
106extern int ReportRvmResEvent();
107extern int InitDB();
108extern int CloseDB();
109extern void UpdateDB();
110extern void UnlockTables();
111extern int ReportIotInfoCall();
113extern int ReportSubtreeCall();
114extern int ReportRepairCall();
116
117#endif /* __cplusplus */
int ReportIotStatsCall()
int ReportClientCall()
int ReportRvmResEvent()
int CloseDB()
int ReportMiniCache()
int ReportOverflow()
int ReportRwsStatsCall()
int ReportResEvent()
int ReportSrvCall()
int InitDB()
int ReportSession()
int ReportIotInfoCall()
void UnlockTables()
int ReportCommEvent()
void UpdateDB()
int ReportSubtreeCall()
int ReportRepairCall()
long ReportVCB(VmonVenusId *, long, long, VolumeId, VCBStatistics *)
Definition: wind.c:172
long ReportAdviceCall(VmonVenusId *, long, UserId, AdviceStatistics *, unsigned long, AdviceCalls *, unsigned long, AdviceResults *)
Definition: wind.c:188
int32_t RPC2_Integer
Definition: rpc2.h:297
uint32_t RPC2_Unsigned
Definition: rpc2.h:300
RPC2_ByteSeq RPC2_String
Definition: rpc2.h:312
Definition: rpc2.h:662
Definition: advice_parser.h:36
Definition: rpc2.h:671
Definition: advice_parser.h:55