Coda Distributed File System
monitor.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
9 This code is distributed "AS IS" without warranty of any kind under
10 the terms of the GNU General Public Licence Version 2, as shown in the
11 file LICENSE. The technical and financial contributors to Coda are
12 listed in the file CREDITS.
13
14 Additional copyrights
15 none currently
16*/
17
18// Monitor of the codacon port, definition
19
20#ifndef MONITOR_CXX
21#define MONITOR_CXX
22
23#include "config.h"
24
25#include "Inet.h"
26
27#define CODACONPORT 2430
28#define LINESIZE 1024
29
30class monitor {
31public:
33 {
34 actcolor = 255;
35 browsersize = 100;
36 StoreCount = 0;
37 ReintCount = 0;
38 DisFsCount = 0;
39 }
40
41 void Start();
42
43 void NextLine();
44
45 void ForceClose();
46
47 void AgeActColor();
48
49 void SetBrowserSize(int x)
50 {
51 if (x > 10)
52 browsersize = x;
53 }
54
55private:
56 Inet conn;
57 int actcolor;
58 int browsersize;
59
60 int StoreCount;
61 int ReintCount;
62 int DisFsCount;
63};
64
65void NextLine(void);
66
67#endif
Definition: Inet.h:69
Definition: monitor.h:30
monitor()
Definition: monitor.h:32
void Start()
Definition: monitor.cc:75
void NextLine()
Definition: monitor.cc:113
void AgeActColor()
Definition: monitor.cc:287
void SetBrowserSize(int x)
Definition: monitor.h:49
void ForceClose()
Definition: monitor.cc:270
void NextLine(void)
x
Definition: pwdtopdbtool.py:40