Wire Sysio
Wire Sysion 1.0.0
Loading...
Searching...
No Matches
system_file_space_provider.cpp
Go to the documentation of this file.
1
#include <
sysio/resource_monitor_plugin/system_file_space_provider.hpp
>
2
3
namespace
bfs
=
boost::filesystem
;
4
5
namespace
sysio::resource_monitor
{
6
int
system_file_space_provider::get_stat
(
const
char
*
path
,
struct
stat *
buf
)
const
{
7
return
stat(
path
,
buf
);
8
}
9
10
bfs::space_info
system_file_space_provider::get_space
(
const
bfs::path&
p
, boost::system::error_code& ec)
const
{
11
return
bfs::space(
p
, ec);
12
}
13
14
using
bfs::directory_iterator;
15
}
p
const mie::Vuint & p
Definition
bn.cpp:27
fc::path
wraps boost::filesystem::path to provide platform independent path manipulation.
Definition
filesystem.hpp:28
sysio::resource_monitor::system_file_space_provider::get_space
bfs::space_info get_space(const bfs::path &p, boost::system::error_code &ec) const
Definition
system_file_space_provider.cpp:10
sysio::resource_monitor::system_file_space_provider::get_stat
int get_stat(const char *path, struct stat *buf) const
Definition
system_file_space_provider.cpp:6
boost::filesystem
Definition
filesystem.hpp:10
sysio::resource_monitor
Definition
file_space_handler.hpp:11
system_file_space_provider.hpp
buf
uint8_t buf[2048]
Definition
yubihsm_pkcs11.c:4770
plugins
resource_monitor_plugin
system_file_space_provider.cpp
Generated by
1.12.0