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.42 by tdb, Wed Apr 7 21:08:40 2004 UTC vs.
Revision 1.48 by ats, Thu Apr 8 13:16:05 2004 UTC

# Line 25 | Line 25
25  
26   /* FIXME typedefs for 32/64-bit types */
27   /* FIXME maybe tidy up field names? */
28 /* FIXME tab/space damage */
29 /* FIXME prefixes for util functions too */
28   /* FIXME comments for less obvious fields */
29  
30   int sg_init(void);
# Line 67 | Line 65 | typedef enum {
65  
66   void sg_set_error(sg_error code, const char *arg);
67   sg_error sg_get_error();
68 + const char *sg_get_error_arg();
69   const char *sg_str_error(sg_error code);
70  
71   typedef struct {
# Line 231 | Line 230 | typedef struct {
230   } sg_process_stats;
231  
232   sg_process_stats *sg_get_process_stats(int *entries);
233 +
234 + int sg_process_compare_pid(const void *va, const void *vb);
235 + int sg_process_compare_uid(const void *va, const void *vb);
236 + int sg_process_compare_gid(const void *va, const void *vb);
237 + int sg_process_compare_size(const void *va, const void *vb);
238 + int sg_process_compare_res(const void *va, const void *vb);
239 + int sg_process_compare_cpu(const void *va, const void *vb);
240 + int sg_process_compare_time(const void *va, const void *vb);
241  
242   typedef struct {
243          int total;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines