wmbutton: Escape minus sign in manpage
[dockapps.git] / wmcpuload / src / cpu.h
blobcc580478af09d4bbba14d5e7565bd40f4cf9b6f2
1 /*
2 * cpu.h - header file of the module to get cpu usage
4 * Copyright (c) 2001 Seiichi SATO <ssato@sh.rim.or.jp>
6 * licensed under the GPL
7 */
9 #ifndef __CPU_H
10 #define __CPU_H
12 #ifdef IGNORE_PROC
13 #define COMM_LEN 16
14 #endif
15 #define MAX_PROC 5
18 typedef struct _cpu_options {
19 int ignore_nice;
20 int cpu_number;
21 char *ignore_proc_list[MAX_PROC];
22 int ignore_procs;
23 } cpu_options;
25 void cpu_init(void);
26 int cpu_get_usage(cpu_options *opts);
28 #endif