Coda Distributed File System
parselog.h
Go to the documentation of this file.
1/* BLURB gpl
2
3 Coda File System
4 Release 6
5
6 Copyright (c) 1987-2003 Carnegie Mellon University
7 Additional copyrights listed below
8
9This code is distributed "AS IS" without warranty of any kind under
10the terms of the GNU General Public Licence Version 2, as shown in the
11file LICENSE. The technical and financial contributors to Coda are
12listed in the file CREDITS.
13
14 Additional copyrights
15 none currently
16
17#*/
18
19#ifndef _PARSELOG_H_
20#define _PARSELOG_H_ 1
21// compops.h
22// class definition for remoteloglist
23// groups remote logentries by vnode and unique
24#include <olist.h>
25#include <vcrcommon.h>
26
27struct remoteloglist : public olink {
28 VnodeId vnode;
29 Unique_t unique;
31
32 remoteloglist(VnodeId vn, Unique_t u)
33 {
34 vnode = vn;
35 unique = u;
36 }
37
39 {
40 // CODA_ASSERT(slelist.count() == 0);
41 }
42};
43
44// exported routines
45extern void ParseRemoteLogs(char *, int, int, olist **, rsle **);
46extern void DeallocateRemoteLogs(olist *);
47extern remoteloglist *FindLogList(he *, VnodeId, Unique_t);
48extern olist *FindRemoteLog(olist *, unsigned long, ViceFid *);
49
50#endif /* _PARSELOG_H_ */
Definition: olist.h:47
Definition: rsle.h:45
olist * FindRemoteLog(olist *, unsigned long, ViceFid *)
Definition: parselog.cc:139
void DeallocateRemoteLogs(olist *)
Definition: parselog.cc:97
void ParseRemoteLogs(char *, int, int, olist **, rsle **)
Definition: parselog.cc:50
remoteloglist * FindLogList(he *, VnodeId, Unique_t)
Definition: parselog.cc:129
Definition: resutil.h:34
Definition: parselog.h:27
VnodeId vnode
Definition: parselog.h:28
olist slelist
Definition: parselog.h:30
Unique_t unique
Definition: parselog.h:29
~remoteloglist()
Definition: parselog.h:38
remoteloglist(VnodeId vn, Unique_t u)
Definition: parselog.h:32