25 lines
750 B
C
25 lines
750 B
C
|
|
/* retoor <retoor@molodetz.nl> */
|
||
|
|
#ifndef DISPLAY_H
|
||
|
|
#define DISPLAY_H
|
||
|
|
|
||
|
|
#include "terminal.h"
|
||
|
|
#include "system.h"
|
||
|
|
#include "cpu.h"
|
||
|
|
#include "memory.h"
|
||
|
|
#include "process.h"
|
||
|
|
#include "network.h"
|
||
|
|
#include "disk.h"
|
||
|
|
#include "filesystem.h"
|
||
|
|
|
||
|
|
void display_header(Terminal *term, SystemInfo *sys);
|
||
|
|
void display_tabs(Terminal *term, int current_tab);
|
||
|
|
void display_footer(Terminal *term, double refresh_rate);
|
||
|
|
|
||
|
|
void display_cpu_detail(Terminal *term, CpuInfo *cpu);
|
||
|
|
void display_memory_detail(Terminal *term, MemoryInfo *mem, ProcessList *procs);
|
||
|
|
void display_network_detail(Terminal *term, NetworkInfo *net);
|
||
|
|
void display_disk_detail(Terminal *term, DiskInfo *disk, FilesystemInfo *fs);
|
||
|
|
void display_process_detail(Terminal *term, ProcessList *procs);
|
||
|
|
|
||
|
|
#endif
|