1 /* 2 ****************************************************************************** 3 * 4 * Copyright (C) 1999-2004, International Business Machines 5 * Corporation and others. All Rights Reserved. 6 * 7 ******************************************************************************/ 8 9 10 /*---------------------------------------------------------------------------------- 11 * 12 * Memory mapped file wrappers for use by the ICU Data Implementation 13 * 14 * Porting note: The implementation of these functions is very platform specific. 15 * Not all platforms can do real memory mapping. Those that can't 16 * still must implement these functions, getting the data into memory using 17 * whatever means are available. 18 * 19 * These functions are part of the ICU internal implementation, and 20 * are not inteded to be used directly by applications. 21 * 22 *----------------------------------------------------------------------------------*/ 23 24 #ifndef __UMAPFILE_H__ 25 #define __UMAPFILE_H__ 26 27 #include "unicode/udata.h" 28 29 UBool uprv_mapFile(UDataMemory *pdm, const char *path); 30 void uprv_unmapFile(UDataMemory *pData); 31 32 #endif 33