intl/icu/source/common/icuplugimp.h

Wed, 31 Dec 2014 07:22:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:22:50 +0100
branch
TOR_BUG_3246
changeset 4
fc2d59ddac77
permissions
-rw-r--r--

Correct previous dual key logic pending first delivery installment.

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

mercurial