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.49 by ats, Thu Apr 8 13:44:44 2004 UTC vs.
Revision 1.54 by tdb, Mon Nov 1 18:30:17 2004 UTC

# Line 21 | Line 21
21   * $Id$
22   */
23  
24 + #ifndef STATGRAB_H
25 + #define STATGRAB_H
26 +
27   #include <sys/types.h>
28  
29   /* FIXME typedefs for 32/64-bit types */
# Line 60 | Line 63 | typedef enum {
63          SG_ERROR_SYSCTLNAMETOMIB,
64          SG_ERROR_UNAME,
65          SG_ERROR_UNSUPPORTED,
66 <        SG_ERROR_XSW_VER_MISMATCH
66 >        SG_ERROR_XSW_VER_MISMATCH,
67 >        SG_ERROR_PSTAT
68   } sg_error;
69  
70   void sg_set_error(sg_error code, const char *arg);
71 + void sg_set_error_with_errno(sg_error code, const char *arg);
72   sg_error sg_get_error();
73   const char *sg_get_error_arg();
74 + int sg_get_error_errno();
75   const char *sg_str_error(sg_error code);
76  
77   typedef struct {
# Line 263 | Line 269 | sg_process_count *sg_get_process_count();
269   #include <statgrab_deprecated.h>
270   #endif
271  
272 + #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines