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