mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-31 10:56:12 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			21 lines
		
	
	
	
		
			348 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
	
		
			348 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #ifndef __MAPUTIL_H__
 | |
| #define __MAPUTIL_H__
 | |
| 
 | |
| #ifdef __cplusplus
 | |
| extern "C" {
 | |
| #endif
 | |
| 
 | |
| typedef struct {
 | |
|   void *memory;
 | |
|   DWORD lenL;
 | |
|   DWORD lenH;
 | |
|   } MEMMAP;
 | |
| 
 | |
| DllExport HANDLE  CreateFileMap(PGLOBAL, LPCSTR, MEMMAP *, MODE, bool);
 | |
| DllExport bool    CloseMemMap(void *memory, size_t dwSize);
 | |
| 
 | |
| #ifdef __cplusplus
 | |
| }
 | |
| #endif
 | |
| 
 | |
| #endif /* __MAPUTIL_H__ */
 | 
