| 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 |
| 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(): |