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.38 by tdb, Wed Apr 7 09:44:08 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_NONE = 0,
37 +        SG_ERROR_MALLOC_FAILED
38 + } sg_error;
39 +
40 + void sg_set_error(sg_error code, const char *arg);
41 + sg_error sg_get_error();
42 + const char *sg_str_error(sg_error code);
43 +
44   typedef struct {
45          char *os_name;
46          char *os_release;
# Line 204 | Line 213 | typedef struct {
213   } sg_process_count;
214  
215   sg_process_count *sg_get_process_count();
216 +
217 + #ifdef SG_ENABLE_DEPRECATED
218 + #include <statgrab_deprecated.h>
219 + #endif
220  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines