Debian Codegraph @

src/proctable.h

raw symbols SCIP
1 /* Procman - tree view
2 * Copyright (C) 2001 Kevin Vandersloot
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation; either version 2
7 * of the License, or (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU Library General Public
15 * License along with this program; if not, see <http://www.gnu.org/licenses/>.
16 *
17 */
18
19 #ifndef _GSM_PROCTABLE_H_
20 #define _GSM_PROCTABLE_H_
21
22 #include <glib.h>
23 #include <gtk/gtk.h>
24 #include "application.h"
25 #include "legacy/treeview.h"
26 #include "procinfo.h"
27
28 enum
29 {
30 COL_NAME = 0,
31 COL_USER,
32 COL_STATUS,
33 COL_VMSIZE,
34 COL_MEMRES,
35 COL_MEMWRITABLE,
36 COL_MEMSHARED,
37 COL_MEMXSERVER,
38 COL_CPU,
39 COL_CPU_TIME,
40 COL_START_TIME,
41 COL_NICE,
42 COL_PID,
43 COL_SECURITYCONTEXT,
44 COL_ARGS,
45 COL_MEM,
46 COL_WCHAN,
47 COL_CGROUP,
48 COL_UNIT,
49 COL_SESSION,
50 COL_SEAT,
51 COL_OWNER,
52 COL_DISK_READ_TOTAL,
53 COL_DISK_WRITE_TOTAL,
54 COL_DISK_READ_CURRENT,
55 COL_DISK_WRITE_CURRENT,
56 COL_PRIORITY,
57 COL_ICON,
58 COL_POINTER,
59 COL_TOOLTIP,
60 NUM_COLUMNS
61 };
62
63
64 GsmTreeView * proctable_new (GsmApplication *app);
65 void proctable_update (GsmApplication *app);
66 void proctable_free_table (GsmApplication *app);
67 void proctable_freeze (GsmApplication *app);
68 void proctable_thaw (GsmApplication *app);
69 void proctable_reset_timeout (GsmApplication *app);
70
71 void get_process_memory_writable (ProcInfo *info);
72 void get_last_selected (GtkTreeModel *model,
73 GtkTreePath *path,
74 GtkTreeIter *iter,
75 gpointer data);
76 void proctable_refresh_summary_headers(GsmApplication *app);
77
78 #endif /* _GSM_PROCTABLE_H_ */