"SfR Fresh" - the SfR Freeware/Shareware Archive 
Member "gmemusage-0.2/common.h" of archive gmemusage-0.2.tar.gz:
As a special service "SfR Fresh" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting with prefixed line numbers.
Alternatively you can here view or download the uninterpreted source code file.
That can be also achieved for any archive member file by clicking within an archive contents listing on the first character of the file(path) respectively on the according byte size field.
1 /*
2 * common.h
3 * common definitions for gmemusage
4 *
5 * Copyright (C) 1997 by Raju Mathur (raju@sgi.com)
6 *
7 * See file COPYING (included in this distribution) for copyright information.
8 */
9 #define kernelname "linux"
10 #define freename "free"
11
12 struct ProcInfo
13 {
14 char
15 procname [14] ;
16 int
17 totMem ,
18 totRSS ,
19 nProcs ;
20 } ;
21 /*
22 * Defined in hash.c
23 */
24 extern void addProc ( char *procName , int Mem , int RSS ) ;
25 extern void ClearProcs ( void ) ;
26 extern struct ProcInfo *NextProc ( void ) ;
27 extern struct ProcInfo *AllProcs ( int *nprocs ) ;
28 /*
29 * Defined in proc.c
30 */
31 extern void makeProcs ( void ) ;
32 extern int
33 sysmem ,
34 kernelmem ,
35 freemem ,
36 buffermem ;
37 /*
38 * Defined in gmemusage.c
39 */
40 extern char
41 progname [] ,
42 *version ;