MCPcopy Create free account
hub / github.com/bailey27/cppcryptfs / CryptOpenFiles

Class CryptOpenFiles

libcppcryptfs/file/openfiles.h:139–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137};
138
139class CryptOpenFiles {
140private:
141 mutex m_mutex;
142 unordered_map<wstring, shared_ptr<CryptOpenFile> > m_openfiles;
143public:
144 CryptOpenFiles() = default;
145 virtual ~CryptOpenFiles() = default;
146
147 bool OpenFile(LPCWSTR path, HANDLE h);
148
149 bool CloseFile(LPCWSTR path, HANDLE h);
150
151 bool Rename(LPCWSTR from, LPCWSTR to);
152
153 shared_ptr<CryptOpenFile> GetOpenFile(LPCWSTR path);
154
155 // disallow copying
156 CryptOpenFiles(CryptOpenFiles const&) = delete;
157 void operator=(CryptOpenFiles const&) = delete;
158};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected