]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - contrib/top/display.h
MFC r368207,368607:
[FreeBSD/stable/10.git] / contrib / top / display.h
1 /* constants needed for display.c */
2
3 /* "type" argument for new_message function */
4
5 #define  MT_standout  1
6 #define  MT_delayed   2
7
8 #include "machine.h"
9
10 int              display_updatecpus(struct statics *statics);
11 void     clear_message(void);
12 int              display_resize(void);
13 void     i_header(char *text);
14 char    *printable(char *string);
15 char    *cpustates_tag(void);
16 void     display_header(int t);
17 int              display_init(struct statics *statics);
18 void     i_arc(int *stats);
19 void     i_cpustates(int *states);
20 void     i_loadave(int mpid, double *avenrun);
21 void     i_memory(int *stats);
22 void     i_message(void);
23 void     i_process(int line, char *thisline);
24 void     i_procstates(int total, int *brkdn);
25 void     i_swap(int *stats);
26 void     i_timeofday(time_t *tod);
27 void     i_uptime(struct timeval *bt, time_t *tod);
28 void     new_message();
29 int              readline(char *buffer, int size, int numeric);
30 char    *trim_header(char *text);
31 void     u_arc(int *stats);
32 void     u_cpustates(int *states);
33 void     u_endscreen(int hi);
34 void     u_header(char *text);
35 void     u_loadave(int mpid, double *avenrun);
36 void     u_memory(int *stats);
37 void     u_message(void);
38 void     u_process(int line, char *newline);
39 void     u_procstates(int total, int *brkdn);
40 void     u_swap(int *stats);
41 void     z_cpustates(void);