--- projects/libstatgrab/src/libstatgrab/statgrab.h 2004/04/06 16:37:34 1.35 +++ projects/libstatgrab/src/libstatgrab/statgrab.h 2004/04/06 21:38:55 1.36 @@ -18,7 +18,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA * 02111-1307 USA * - * $Id: statgrab.h,v 1.35 2004/04/06 16:37:34 tdb Exp $ + * $Id: statgrab.h,v 1.36 2004/04/06 21:38:55 tdb Exp $ */ #include @@ -31,6 +31,14 @@ int sg_init(void); int sg_drop_privileges(void); + +typedef enum { + SG_ERROR +} sg_error; + +void sg_set_error(sg_error code, const char *arg); +sg_error sg_get_error(); +char *sg_str_error(sg_error code); typedef struct { char *os_name;