system/helpers.cpp: add code to get hdd standby/active status and flush hdd buffers

Origin commit data
------------------
Branch: ni/coolstream
Commit: 097e05c083
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-02-05 (Wed, 05 Feb 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
[CST] Focus
2014-02-05 13:08:03 +04:00
parent 920ee0fdf2
commit 9a9cac4674
2 changed files with 76 additions and 0 deletions

View File

@@ -43,6 +43,9 @@ void mySleep(int sec);
std::string find_executable(const char *name);
bool hdd_get_standby(const char * fname);
void hdd_flush(const char * fname);
std::string getPathName(std::string &path);
std::string getBaseName(std::string &path);
std::string getFileName(std::string &file);