|
Coda Distributed File System
|
#include <stdio.h>#include <sys/types.h>#include <sys/socket.h>#include <netinet/in.h>#include <sys/time.h>#include <time.h>#include "coda_string.h"#include <errno.h>#include <curses.h>#include <lwp/lwp.h>#include <lwp/timer.h>#include <rpc2/rpc2.h>#include <rpc2/rpc2_addrinfo.h>#include <rpc2/se.h>#include <rpc2/sftp.h>#include <signal.h>#include "vice.h"#include <coda_getservbyname.h>#include <coda_getaddrinfo.h>
Classes | |
| struct | server |
| struct | printvals |
Macros | |
| #define | MAXSRV 16 |
| #define | SRVCOLWIDTH 9 /* width of each server's window */ |
| #define | SRVCOLDECML 999999 |
| #define | FIRSTSRVCOL 7 /* index of first server's column */ |
| #define | SDNLEN (SRVCOLWIDTH - 3) /* length of short disk names */ |
| #define | HOME() |
| #define | QROWS(n) |
| #define | WPRINT(x) |
| #define | DIFF(x) (s->newvs.x - s->oldvs.x) |
Enumerations | |
| enum | SrvState { DEAD , NEWBORN , ALIVE } |
Functions | |
| void | cleanup_and_go (int ignored) |
| int | main (int argc, char *argv[]) |
| char * | when (time_t now, time_t then) |
Variables | |
| struct server | srv [MAXSRV] |
| int | SrvCount = 0 |
| struct timeval | ProbeInterval |
| int | AbsFlag = 0 |
| int | CpuFlag = 0 |
| WINDOW * | curWin |
| FILE * | rpc2_logfile |
| FILE * | dbg |
| char | Dummy |
| #define DIFF | ( | x | ) | (s->newvs.x - s->oldvs.x) |
| #define HOME | ( | ) |
| #define MAXSRV 16 |
| #define QROWS | ( | n | ) |
| #define SDNLEN (SRVCOLWIDTH - 3) /* length of short disk names */ |
| #define SRVCOLDECML 999999 |
| #define WPRINT | ( | x | ) |
| enum SrvState |
| void cleanup_and_go | ( | int | ignored | ) |
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
| char * when | ( | time_t | now, |
| time_t | then | ||
| ) |
| int AbsFlag = 0 |
| int CpuFlag = 0 |
| WINDOW* curWin |
| FILE* dbg |
| char Dummy |
| struct timeval ProbeInterval |
|
extern |
| int SrvCount = 0 |