|
Revision 1, 1.9 KB
(checked in by emasson, 3 years ago)
|
|
initial import for the community edition
|
| Line | |
|---|
| 1 | |
|---|
| 2 | |
|---|
| 3 | |
|---|
| 4 | |
|---|
| 5 | |
|---|
| 6 | |
|---|
| 7 | |
|---|
| 8 | |
|---|
| 9 | |
|---|
| 10 | |
|---|
| 11 | |
|---|
| 12 | |
|---|
| 13 | |
|---|
| 14 | |
|---|
| 15 | |
|---|
| 16 | |
|---|
| 17 | |
|---|
| 18 | |
|---|
| 19 | |
|---|
| 20 | |
|---|
| 21 | |
|---|
| 22 | |
|---|
| 23 | |
|---|
| 24 | |
|---|
| 25 | |
|---|
| 26 | |
|---|
| 27 | |
|---|
| 28 | #include "process.h" |
|---|
| 29 | |
|---|
| 30 | #define MAX_PROCESSES 1024 |
|---|
| 31 | |
|---|
| 32 | #ifndef TRUE |
|---|
| 33 | #define TRUE 1 |
|---|
| 34 | #endif |
|---|
| 35 | #ifndef FALSE |
|---|
| 36 | #define FALSE 0 |
|---|
| 37 | #endif |
|---|
| 38 | |
|---|
| 39 | |
|---|
| 40 | extern long kilobyte; |
|---|
| 41 | extern long megabyte; |
|---|
| 42 | extern long gigabyte; |
|---|
| 43 | |
|---|
| 44 | |
|---|
| 45 | extern struct system system_detail; |
|---|
| 46 | |
|---|
| 47 | extern struct process processes[MAX_PROCESSES]; |
|---|
| 48 | extern int processCount; |
|---|
| 49 | extern struct process drawProc[MAX_PROCESSES]; |
|---|
| 50 | extern int drawProcCount; |
|---|
| 51 | extern struct process currentProc; |
|---|
| 52 | |
|---|
| 53 | extern int g_smallTop; |
|---|
| 54 | extern int g_linuxTop; |
|---|
| 55 | |
|---|
| 56 | extern int g_displayMode; |
|---|
| 57 | extern int g_displayLoad; |
|---|
| 58 | extern int g_refresh; |
|---|
| 59 | extern int g_alpha; |
|---|
| 60 | extern int g_visible; |
|---|
| 61 | extern int g_borderWidth; |
|---|
| 62 | extern int g_borderHeight; |
|---|
| 63 | extern int g_width; |
|---|
| 64 | extern int g_height; |
|---|
| 65 | extern int g_barWidth; |
|---|
| 66 | extern int g_lineWidth; |
|---|
| 67 | extern int g_lineWidthBase; |
|---|
| 68 | extern int g_refreshTime; |
|---|
| 69 | extern float g_textSpacing; |
|---|
| 70 | extern float g_connectSpace; |
|---|
| 71 | extern float g_load; |
|---|
| 72 | extern unsigned int g_smallThresh; |
|---|
| 73 | extern unsigned int g_smallDelta; |
|---|
| 74 | |
|---|
| 75 | extern int g_drawEnhanced; |
|---|
| 76 | extern int g_drawPID; |
|---|
| 77 | extern int g_drawMem; |
|---|
| 78 | extern int g_drawText; |
|---|