--- projects/pystatgrab/_statgrab.pyx 2005/09/14 18:15:44 1.18 +++ projects/pystatgrab/_statgrab.pyx 2007/07/13 22:19:56 1.19 @@ -17,7 +17,7 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # -# $Id: _statgrab.pyx,v 1.18 2005/09/14 18:15:44 ats Exp $ +# $Id: _statgrab.pyx,v 1.19 2007/07/13 22:19:56 tdb Exp $ # ctypedef long time_t @@ -291,6 +291,18 @@ class StatgrabException(Exception): def py_sg_init(): if sg_init() == 0: + return True + else: + return False + +def py_sg_shutdown(): + if sg_shutdown() == 0: + return True + else: + return False + +def py_sg_snapshot(): + if sg_snapshot() == 0: return True else: return False