Wire Sysio
Wire Sysion 1.0.0
Loading...
Searching...
No Matches
system_file_space_provider.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <sys/stat.h>
4
#include <boost/filesystem.hpp>
5
6
namespace
bfs
=
boost::filesystem
;
7
8
namespace
sysio::resource_monitor
{
9
class
system_file_space_provider
{
10
public
:
11
system_file_space_provider
()
12
{
13
}
14
15
// Wrapper for Linux stat
16
int
get_stat
(
const
char
*
path
,
struct
stat *
buf
)
const
;
17
18
// Wrapper for boost file system space
19
bfs::space_info
get_space
(
const
bfs::path&
p
, boost::system::error_code& ec)
const
;
20
};
21
}
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
Definition
system_file_space_provider.hpp:9
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::system_file_space_provider
system_file_space_provider()
Definition
system_file_space_provider.hpp:11
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
buf
uint8_t buf[2048]
Definition
yubihsm_pkcs11.c:4770
plugins
resource_monitor_plugin
include
sysio
resource_monitor_plugin
system_file_space_provider.hpp
Generated by
1.12.0