# | Line 79 | Line 79 | typedef enum { | |
---|---|---|
79 | SG_ERROR_SYSCTLNAMETOMIB, | |
80 | SG_ERROR_UNAME, | |
81 | SG_ERROR_UNSUPPORTED, | |
82 | < | SG_ERROR_XSW_VER_MISMATCH |
82 | > | SG_ERROR_XSW_VER_MISMATCH, |
83 | > | SG_ERROR_GETMSG, |
84 | > | SG_ERROR_PUTMSG |
85 | } sg_error; | |
86 | ||
87 | void sg_set_error(sg_error code, const char *arg); | |
# | Line 240 | Line 242 | typedef struct { | |
242 | sg_page_stats *sg_get_page_stats(); | |
243 | sg_page_stats *sg_get_page_stats_diff(); | |
244 | ||
245 | + | /* Recommend to add SG_PROCESS_STATE_IDLE */ |
246 | typedef enum { | |
247 | SG_PROCESS_STATE_RUNNING, | |
248 | SG_PROCESS_STATE_SLEEPING, |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |