--- projects/libstatgrab/src/libstatgrab/statgrab.h 2006/03/11 13:11:21 1.58 +++ projects/libstatgrab/src/libstatgrab/statgrab.h 2010/10/03 18:35:58 1.59 @@ -18,7 +18,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA * 02111-1307 USA * - * $Id: statgrab.h,v 1.58 2006/03/11 13:11:21 tdb Exp $ + * $Id: statgrab.h,v 1.59 2010/10/03 18:35:58 tdb Exp $ */ #ifndef STATGRAB_H @@ -79,7 +79,9 @@ typedef enum { SG_ERROR_SYSCTLNAMETOMIB, SG_ERROR_UNAME, SG_ERROR_UNSUPPORTED, - SG_ERROR_XSW_VER_MISMATCH + SG_ERROR_XSW_VER_MISMATCH, + SG_ERROR_GETMSG, + SG_ERROR_PUTMSG } sg_error; void sg_set_error(sg_error code, const char *arg); @@ -240,6 +242,7 @@ typedef struct { sg_page_stats *sg_get_page_stats(); sg_page_stats *sg_get_page_stats_diff(); +/* Recommend to add SG_PROCESS_STATE_IDLE */ typedef enum { SG_PROCESS_STATE_RUNNING, SG_PROCESS_STATE_SLEEPING,