]>
git.saurik.com Git - apple/icu.git/blob - icuSources/common/umapfile.h
2 ******************************************************************************
4 * Copyright (C) 1999-2004, International Business Machines
5 * Corporation and others. All Rights Reserved.
7 ******************************************************************************/
10 /*----------------------------------------------------------------------------------
12 * Memory mapped file wrappers for use by the ICU Data Implementation
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.
19 * These functions are part of the ICU internal implementation, and
20 * are not inteded to be used directly by applications.
22 *----------------------------------------------------------------------------------*/
24 #ifndef __UMAPFILE_H__
25 #define __UMAPFILE_H__
27 #include "unicode/udata.h"
29 UBool
uprv_mapFile(UDataMemory
*pdm
, const char *path
);
30 void uprv_unmapFile(UDataMemory
*pData
);