Path: blob/master/thirdparty/icu4c/common/icuplugimp.h
9903 views
// © 2016 and later: Unicode, Inc. and others.1// License & terms of use: http://www.unicode.org/copyright.html2/*3******************************************************************************4*5* Copyright (C) 2009-2015, International Business Machines6* Corporation and others. All Rights Reserved.7*8******************************************************************************9*10* FILE NAME : icuplugimp.h11*12* Internal functions for the ICU plugin system13*14* Date Name Description15* 10/29/2009 sl New.16******************************************************************************17*/181920#ifndef ICUPLUGIMP_H21#define ICUPLUGIMP_H2223#include "unicode/icuplug.h"2425#if UCONFIG_ENABLE_PLUGINS2627/*========================*/28/** @{ Library Manipulation29*/3031/**32* Open a library, adding a reference count if needed.33* @param libName library name to load34* @param status error code35* @return the library pointer, or NULL36* @internal internal use only37*/38U_CAPI void * U_EXPORT239uplug_openLibrary(const char *libName, UErrorCode *status);4041/**42* Close a library, if its reference count is 043* @param lib the library to close44* @param status error code45* @internal internal use only46*/47U_CAPI void U_EXPORT248uplug_closeLibrary(void *lib, UErrorCode *status);4950/**51* Get a library's name, or NULL if not found.52* @param lib the library's name53* @param status error code54* @return the library name, or NULL if not found.55* @internal internal use only56*/57U_CAPI char * U_EXPORT258uplug_findLibrary(void *lib, UErrorCode *status);5960/** @} */6162/*========================*/63/** {@ ICU Plugin internal interfaces64*/6566/**67* Initialize the plugins68* @param status error result69* @internal - Internal use only.70*/71U_CAPI void U_EXPORT272uplug_init(UErrorCode *status);7374/**75* Get raw plug N76* @internal - Internal use only77*/78U_CAPI UPlugData* U_EXPORT279uplug_getPlugInternal(int32_t n);8081/**82* Get the name of the plugin file.83* @internal - Internal use only.84*/85U_CAPI const char* U_EXPORT286uplug_getPluginFile(void);8788/** @} */8990#endif9192#endif939495