fix success message for PRDR
[ghsmtp.git] / osutil.hpp
blobd16a533b7652db8e3b2b48175189e3d166ef8c85
1 #ifndef OSUTIL_DOT_HPP_INCLUDED
2 #define OSUTIL_DOT_HPP_INCLUDED
4 #include <string>
5 #include <vector>
7 #include "fs.hpp"
9 namespace osutil {
10 fs::path get_config_dir();
11 fs::path get_exe_path();
12 fs::path get_home_dir();
13 std::string get_hostname();
14 uint16_t get_port(char const* const service, char const* const proto);
15 std::vector<fs::path> list_directory(fs::path const& path,
16 std::string const& pattern);
17 } // namespace osutil
19 #endif // OSUTIL_DOT_HPP_INCLUDED