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.39 by tdb, Wed Apr 7 14:45:40 2004 UTC vs.
Revision 1.43 by ats, Wed Apr 7 21:19:26 2004 UTC

# Line 34 | Line 34 | int sg_drop_privileges(void);
34  
35   typedef enum {
36          SG_ERROR_NONE = 0,
37 <        SG_ERROR_MALLOC,
37 >        SG_ERROR_ASPRINTF,
38 >        SG_ERROR_DEVSTAT_GETDEVS,
39 >        SG_ERROR_DEVSTAT_SELECTDEVS,
40 >        SG_ERROR_ENOENT,
41 >        SG_ERROR_GETIFADDRS,
42 >        SG_ERROR_GETMNTINFO,
43 >        SG_ERROR_GETPAGESIZE,
44 >        SG_ERROR_KSTAT_DATA_LOOKUP,
45 >        SG_ERROR_KSTAT_LOOKUP,
46          SG_ERROR_KSTAT_OPEN,
47 +        SG_ERROR_KSTAT_READ,
48 +        SG_ERROR_KVM_GETSWAPINFO,
49 +        SG_ERROR_KVM_OPENFILES,
50 +        SG_ERROR_MALLOC,
51          SG_ERROR_OPEN,
52 +        SG_ERROR_OPENDIR,
53 +        SG_ERROR_PARSE,
54 +        SG_ERROR_SETEGID,
55 +        SG_ERROR_SETEUID,
56 +        SG_ERROR_SETMNTENT,
57 +        SG_ERROR_SOCKET,
58 +        SG_ERROR_SWAPCTL,
59 +        SG_ERROR_SYSCONF,
60 +        SG_ERROR_SYSCTL,
61          SG_ERROR_SYSCTLBYNAME,
62 <        SG_ERROR_PARSE
62 >        SG_ERROR_SYSCTLNAMETOMIB,
63 >        SG_ERROR_UNAME,
64 >        SG_ERROR_UNSUPPORTED,
65 >        SG_ERROR_XSW_VER_MISMATCH
66   } sg_error;
67  
68   void sg_set_error(sg_error code, const char *arg);
69   sg_error sg_get_error();
70 + const char *sg_get_error_arg();
71   const char *sg_str_error(sg_error code);
72  
73   typedef struct {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines