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.48 by ats, Thu Apr 8 13:16:05 2004 UTC vs.
Revision 1.49 by ats, Thu Apr 8 13:44:44 2004 UTC

# Line 151 | Line 151 | typedef struct {
151  
152   sg_fs_stats *sg_get_fs_stats(int *entries);
153  
154 + int sg_fs_compare_device_name(const void *va, const void *vb);
155 + int sg_fs_compare_mnt_point(const void *va, const void *vb);
156 +
157   typedef struct {
158          char *disk_name;
159          long long read_bytes;
# Line 161 | Line 164 | typedef struct {
164   sg_disk_io_stats *sg_get_disk_io_stats(int *entries);
165   sg_disk_io_stats *sg_get_disk_io_stats_diff(int *entries);
166  
167 + int sg_disk_io_compare_name(const void *va, const void *vb);
168 +
169   typedef struct {
170          char *interface_name;
171          long long tx;
# Line 176 | Line 181 | typedef struct {
181   sg_network_io_stats *sg_get_network_io_stats(int *entries);
182   sg_network_io_stats *sg_get_network_io_stats_diff(int *entries);
183  
184 + int sg_network_io_compare_name(const void *va, const void *vb);
185 +
186   typedef enum {
187          SG_IFACE_DUPLEX_FULL,
188          SG_IFACE_DUPLEX_HALF,
# Line 191 | Line 198 | typedef struct {
198  
199   sg_network_iface_stats *sg_get_network_iface_stats(int *entries);
200  
201 + int sg_network_iface_compare_name(const void *va, const void *vb);
202 +
203   typedef struct {
204          long long pages_pagein;
205          long long pages_pageout;
# Line 231 | Line 240 | typedef struct {
240  
241   sg_process_stats *sg_get_process_stats(int *entries);
242  
243 + int sg_process_compare_name(const void *va, const void *vb);
244   int sg_process_compare_pid(const void *va, const void *vb);
245   int sg_process_compare_uid(const void *va, const void *vb);
246   int sg_process_compare_gid(const void *va, const void *vb);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines