mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-29 19:37:06 -05:00
Adds the new status and scrub commands.
This commit is contained in:
parent
edc885ac79
commit
a32a1cd9a8
17 changed files with 978 additions and 87 deletions
8
util.c
8
util.c
|
|
@ -175,6 +175,14 @@ int sclose(STREAM* s)
|
|||
return 0;
|
||||
}
|
||||
|
||||
int shandle(STREAM* s)
|
||||
{
|
||||
if (!s->handle_size)
|
||||
return -1;
|
||||
|
||||
return s->handle[0].f;
|
||||
}
|
||||
|
||||
int sfill(STREAM* s)
|
||||
{
|
||||
ssize_t ret;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue