Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
file_mapping.hpp
Go to the documentation of this file.
1#pragma once
2#include <fc/fwd.hpp>
3#include <fc/utility.hpp>
4
5namespace boost {
6 namespace interprocess {
7 class file_mapping;
8 class mapped_region;
9 }
10}
11namespace fc {
17
19 public:
20 file_mapping( const char* file, mode_t );
22 private:
23 friend class mapped_region;
24 #ifdef _WIN64
26 #else
28 #endif
29 };
30
32 public:
33 mapped_region( const file_mapping& fm, mode_t m, uint64_t start, size_t size );
34 mapped_region( const file_mapping& fm, mode_t m );
36 void flush();
37 void* get_address()const;
38 size_t get_size()const;
39 private:
41 };
42}
file_mapping(const char *file, mode_t)
Used to forward declare value types.
Definition fwd.hpp:11
mapped_region(const file_mapping &fm, mode_t m, uint64_t start, size_t size)
size_t get_size() const
void * get_address() const
namespace sysio::chain
Definition authority.cpp:3
@ write_only
@ read_write
@ read_only
unsigned __int64 uint64_t
Definition stdint.h:136