|
Namespaces |
namespace | storage |
Defines |
#define | BUF_SIZE 512 |
Functions |
string | storage::dupDash (const string &s) |
bool | storage::searchFile (AsciiFile &File_Cr, string Pat_Cv, string &Line_Cr) |
bool | storage::searchFile (AsciiFile &File_Cr, string Pat_Cv, string &Line_Cr, int &LineNr_ir) |
void | storage::timeMark (const char *const Text_pcv, bool PrintDiff_bi) |
void | storage::createPath (string Path_Cv) |
bool | storage::getUid (string Name_Cv, unsigned &Uid_ir) |
bool | storage::getGid (string Name_Cv, unsigned &Gid_ir) |
int | storage::getGid (string Name_Cv) |
int | storage::getUid (string Name_Cv) |
bool | storage::checkDir (string Path_Cv) |
bool | storage::checkSymlink (string Path_Cv) |
bool | storage::checkBlockDevice (string Path_Cv) |
bool | storage::checkNormalFile (string Path_Cv) |
string | storage::kbyteToHumanString (unsigned long long sizeK) |
string | storage::extractNthWord (int Num_iv, string Line_Cv, bool GetRest_bi) |
list< string > | storage::splitString (const string &s, const string &delChars, bool multipleDelim, bool skipEmpty, const string "es) |
string | storage::mergeString (const list< string > &l, const string &del) |
map< string, string > | storage::makeMap (const list< string > &l, const string &delim, const string &removeSur) |
void | storage::putNthWord (int Num_iv, string Word_Cv, string &Line_Cr) |
void | storage::removeLastIf (string &Text_Cr, char Char_cv) |
string | storage::normalizeDevice (const string &dev) |
void | storage::normalizeDevice (string &dev) |
string | storage::undevDevice (const string &dev) |
void | storage::undevDevice (string &dev) |
void | storage::delay (int Microsec_iv) |
void | storage::removeSurrounding (char Delim_ci, string &Text_Cr) |
int | storage::compareGt (string Lhs_Cv, string Rhs_Cv) |
bool | storage::runningFromSystem () |
void | storage::log_msg (unsigned level, const char *file, unsigned line, const char *func, const char *add_str, const char *format,...) |
int | storage::createLogger (const string &component, const string &name, const string &logpath, const string &logfile) |
void | storage::tolower (string &s) |
void | storage::getFindMap (const char *path, map< string, string > &m, bool unique) |
void | storage::getFindRevMap (const char *path, map< string, string > &ret) |
unsigned | storage::getMajorDevices (const string &driver) |
Variables |
static blocxx::String | storage::component = "libstorage(" + decString(getpid()) + ")" |
bool | storage::system_cmd_testmode = false |
const string | storage::app_ws = " \t\n" |