intl/icu/source/common/icuplugimp.h

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     1 /*
     2 ******************************************************************************
     3 *
     4 *   Copyright (C) 2009-2010, International Business Machines
     5 *   Corporation and others.  All Rights Reserved.
     6 *
     7 ******************************************************************************
     8 *
     9 *  FILE NAME : icuplugimp.h
    10 * 
    11 *  Internal functions for the ICU plugin system
    12 *
    13 *   Date         Name        Description
    14 *   10/29/2009   sl          New.
    15 ******************************************************************************
    16 */
    19 #ifndef ICUPLUGIMP_H
    20 #define ICUPLUGIMP_H
    22 #include "unicode/icuplug.h"
    24 /*========================*/
    25 /** @{ Library Manipulation  
    26  */
    28 /**
    29  * Open a library, adding a reference count if needed.
    30  * @param libName library name to load
    31  * @param status error code
    32  * @return the library pointer, or NULL
    33  * @internal internal use only
    34  */
    35 U_INTERNAL void * U_EXPORT2
    36 uplug_openLibrary(const char *libName, UErrorCode *status);
    38 /**
    39  * Close a library, if its reference count is 0
    40  * @param lib the library to close
    41  * @param status error code
    42  * @internal internal use only
    43  */
    44 U_INTERNAL void U_EXPORT2
    45 uplug_closeLibrary(void *lib, UErrorCode *status);
    47 /**
    48  * Get a library's name, or NULL if not found.
    49  * @param lib the library's name
    50  * @param status error code
    51  * @return the library name, or NULL if not found.
    52  * @internal internal use only
    53  */
    54 U_INTERNAL  char * U_EXPORT2
    55 uplug_findLibrary(void *lib, UErrorCode *status);
    57 /** @} */
    59 /*========================*/
    60 /** {@ ICU Plugin internal interfaces
    61  */
    63 /**
    64  * Initialize the plugins 
    65  * @param status error result
    66  * @internal - Internal use only.
    67  */
    68 U_INTERNAL void U_EXPORT2
    69 uplug_init(UErrorCode *status);
    71 /**
    72  * Get raw plug N
    73  * @internal - Internal use only
    74  */ 
    75 U_INTERNAL UPlugData* U_EXPORT2
    76 uplug_getPlugInternal(int32_t n);
    78 /**
    79  * Get the name of the plugin file. 
    80  * @internal - Internal use only.
    81  */
    82 U_INTERNAL const char* U_EXPORT2
    83 uplug_getPluginFile(void);
    85 /** @} */
    87 #endif

mercurial