--- projects/libstatgrab/src/libstatgrab/statgrab.h 2004/07/02 11:21:30 1.50 +++ projects/libstatgrab/src/libstatgrab/statgrab.h 2004/07/16 15:07:14 1.51 @@ -18,7 +18,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA * 02111-1307 USA * - * $Id: statgrab.h,v 1.50 2004/07/02 11:21:30 tdb Exp $ + * $Id: statgrab.h,v 1.51 2004/07/16 15:07:14 tdb Exp $ */ #ifndef STATGRAB_H @@ -67,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 {