mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
22 lines
381 B
C
22 lines
381 B
C
#ifndef __MAPUTIL_H__
|
|
#define __MAPUTIL_H__
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef struct {
|
|
void *memory;
|
|
DWORD lenL;
|
|
DWORD lenH;
|
|
} MEMMAP;
|
|
|
|
HANDLE CreateFileMap(PGLOBAL, LPCSTR, MEMMAP *, MODE, bool);
|
|
bool CloseMemMap(void *memory, size_t dwSize);
|
|
my_bool CloseFileHandle(HANDLE h);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* __MAPUTIL_H__ */
|