--- projects/libstatgrab/src/libstatgrab/statgrab.h 2004/04/08 13:44:44 1.49 +++ projects/libstatgrab/src/libstatgrab/statgrab.h 2004/07/16 15:07:14 1.51 @@ -18,9 +18,12 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA * 02111-1307 USA * - * $Id: statgrab.h,v 1.49 2004/04/08 13:44:44 ats Exp $ + * $Id: statgrab.h,v 1.51 2004/07/16 15:07:14 tdb Exp $ */ +#ifndef STATGRAB_H +#define STATGRAB_H + #include /* FIXME typedefs for 32/64-bit types */ @@ -64,8 +67,10 @@ typedef enum { } sg_error; void sg_set_error(sg_error code, const char *arg); +void sg_set_error_with_errno(sg_error code, const char *arg, int use_errno); sg_error sg_get_error(); const char *sg_get_error_arg(); +const char *sg_get_error_strerror(); const char *sg_str_error(sg_error code); typedef struct { @@ -263,3 +268,4 @@ sg_process_count *sg_get_process_count(); #include #endif +#endif