ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/pystatgrab/statgrab.py
(Generate patch)

Comparing projects/pystatgrab/statgrab.py (file contents):
Revision 1.6 by tdb, Sun May 30 16:41:03 2004 UTC vs.
Revision 1.8 by tdb, Fri Jul 13 22:19:56 2007 UTC

# Line 1 | Line 1
1   #
2   # i-scream pystatgrab
3 < # http://www.i-scream.org
3 > # http://www.i-scream.org/pystatgrab/
4   # Copyright (C) 2000-2004 i-scream
5   #
6   # This program is free software; you can redistribute it and/or
# Line 24 | Line 24 | import _statgrab
24  
25   def sg_init():
26      return _statgrab.py_sg_init()
27 + def sg_snapshot():
28 +    return _statgrab.py_sg_snapshot()
29 + def sg_shutdown():
30 +    return _statgrab.py_sg_shutdown()
31   def sg_drop_privileges():
32      return _statgrab.py_sg_drop_privileges()
33   def sg_set_error(code, arg=''):
34      return _statgrab.py_sg_set_error(code, arg)
35 + def sg_set_error_with_errno(code, arg=''):
36 +    return _statgrab.py_sg_set_error_with_errno(code, arg)
37   def sg_get_error():
38      return _statgrab.py_sg_get_error()
39   def sg_get_error_arg():
40      return _statgrab.py_sg_get_error_arg()
41 + def sg_get_error_errno():
42 +    return _statgrab.py_sg_get_error_errno()
43   def sg_str_error(code):
44      return _statgrab.py_sg_str_error(code)
45   def sg_get_host_info():

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines