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.9 by pajs, Mon Mar 3 13:14:25 2003 UTC vs.
Revision 1.19 by pajs, Tue Jan 6 22:28:41 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 19 | Line 19
19   */
20  
21   #include <sys/types.h>
22 + #ifdef NETBSD
23 + #include <limits.h>
24 + #endif
25 + #ifdef CYGWIN
26 + #include <sys/unistd.h>
27 + #endif
28  
29   typedef struct{
30          long long user;
# Line 54 | Line 60 | typedef struct{
60          double min15;
61   }load_stat_t;
62  
57 #ifdef SOLARIS
58 #define MAX_LOGIN_NAME_SIZE 8
59 #endif
60
63   typedef struct{
64          char *name_list;
65          int num_entries;
# Line 113 | Line 115 | typedef struct{
115   }network_stat_t;
116  
117   typedef struct{
116        long long num_pagein;
117        long long num_pageout;
118          long long pages_pagein;
119          long long pages_pageout;
120          time_t systime;
# Line 145 | Line 145 | network_stat_t *get_network_stats_diff(int *entries);
145  
146   page_stat_t *get_page_stats();
147   page_stat_t *get_page_stats_diff();
148 +
149 + int statgrab_init(void);
150 + int statgrab_drop_privileges(void);
151 +

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines