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.33 by ats, Mon Apr 5 15:40:15 2004 UTC vs.
Revision 1.36 by tdb, Tue Apr 6 21:38:55 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 32 | Line 32
32   int sg_init(void);
33   int sg_drop_privileges(void);
34  
35 + typedef enum {
36 +        SG_ERROR
37 + } sg_error;
38 +
39 + void sg_set_error(sg_error code, const char *arg);
40 + sg_error sg_get_error();
41 + char *sg_str_error(sg_error code);
42 +
43   typedef struct {
44          char *os_name;
45          char *os_release;
# Line 204 | Line 212 | typedef struct {
212   } sg_process_count;
213  
214   sg_process_count *sg_get_process_count();
215 +
216 + #ifdef SG_ENABLE_DEPRECATED
217 + #include <statgrab_deprecated.h>
218 + #endif
219  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines