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

Comparing projects/libstatgrab/src/libstatgrab/os_info.c (file contents):
Revision 1.12 by tdb, Fri Jan 16 15:54:54 2004 UTC vs.
Revision 1.16 by tdb, Tue Apr 6 14:52:58 2004 UTC

# Line 1 | Line 1
1   /*
2 < * i-scream central monitoring system
2 > * i-scream libstatgrab
3   * http://www.i-scream.org
4   * Copyright (C) 2000-2004 i-scream
5   *
# Line 17 | Line 17
17   * License along with this library; if not, write to the Free Software
18   * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
19   * 02111-1307 USA
20 + *
21 + * $Id$
22   */
23  
24   #ifdef HAVE_CONFIG_H
# Line 34 | Line 36
36   #include <stdio.h>
37   #endif
38   #ifdef ALLBSD
39 < #ifdef FREEBSD
39 > #if defined(FREEBSD) || defined(DFBSD)
40   #include <sys/types.h>
41   #include <sys/sysctl.h>
42   #else
# Line 45 | Line 47
47   #include <sys/time.h>
48   #endif
49  
50 < general_stat_t *get_general_stats(){
50 > sg_host_info *sg_get_host_info(){
51  
52 <        static general_stat_t general_stat;    
52 >        static sg_host_info general_stat;      
53          static struct utsname os;
54  
55   #ifdef SOLARIS

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines