Adds the new status and scrub commands.

This commit is contained in:
Andrea Mazzoleni 2013-06-29 17:53:40 +02:00
parent edc885ac79
commit a32a1cd9a8
17 changed files with 978 additions and 87 deletions

6
util.h
View file

@ -73,6 +73,12 @@ int sopen_multi_file(STREAM* s, unsigned i, const char* file);
*/
int sclose(STREAM* s);
/**
* Returns the handle of the file.
* In case of multi file, the first one is returned.
*/
int shandle(STREAM* s);
/**
* Fills the read stream buffer and read a char.
* \note Don't call this directly, but use sgetc().