ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/libstatgrab/src/libstatgrab/statgrab.h
(Generate patch)

Comparing projects/libstatgrab/src/libstatgrab/statgrab.h (file contents):
Revision 1.11 by pajs, Fri Mar 7 14:44:38 2003 UTC vs.
Revision 1.20 by pajs, Fri Jan 9 16:31:55 2004 UTC

# Line 1 | Line 1
1   /*
2   * i-scream central monitoring system
3 < * http://www.i-scream.org.uk
4 < * Copyright (C) 2000-2002 i-scream
3 > * http://www.i-scream.org
4 > * Copyright (C) 2000-2003 i-scream
5   *
6   * This program is free software; you can redistribute it and/or
7   * modify it under the terms of the GNU General Public License
# Line 18 | Line 18
18   * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
19   */
20  
21 #include <sys/types.h>
22
21   typedef struct{
22          long long user;
23          long long kernel;
# Line 54 | Line 52 | typedef struct{
52          double min15;
53   }load_stat_t;
54  
57 #ifdef SOLARIS
58 #define MAX_LOGIN_NAME_SIZE 8
59 #endif
60 #ifdef LINUX
61 #define MAX_LOGIN_NAME_SIZE UT_NAMESIZE
62 #endif
63
55   typedef struct{
56          char *name_list;
57          int num_entries;
# Line 146 | Line 137 | network_stat_t *get_network_stats_diff(int *entries);
137  
138   page_stat_t *get_page_stats();
139   page_stat_t *get_page_stats_diff();
140 +
141 + int statgrab_init(void);
142 + int statgrab_drop_privileges(void);
143 +

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines