![]() |
Kea
2.5.3
|
Functions | |
string | getContent (const std::string &file_name) |
Get the content of a regular file. More... | |
bool | isDir (const std::string &name) |
Is a directory predicate. More... | |
std::string isc::util::file::getContent | ( | const std::string & | file_name | ) |
Get the content of a regular file.
file_name | The file name. |
BadValue | when the file can't be opened or is not a regular one. |
Definition at line 23 of file file_utilities.cc.
References isc_throw.
Referenced by isc::http::BasicHttpAuthConfig::getFileContent().
bool isc::util::file::isDir | ( | const std::string & | name | ) |
Is a directory predicate.
name | The file or directory name. |
Definition at line 59 of file file_utilities.cc.
Referenced by isc::asiolink::TlsContextBase::configure(), and isc::db::MySqlConnection::openDatabase().