• Home
  • Raw
  • Download

Lines Matching full:plugin

20  * \brief C API: ICU Plugin API 
22 * <h2>C API: ICU Plugin API</h2>
49 * <li>ENTRYPOINT is the short (undecorated) symbol name of the plugin's
53 * the plugin.</li>
64 * which cause ICU to be 'initialized'. If a plugin is low level but
65 * causes ICU to allocate memory or become initialized, that plugin is said
72 * <h3>Implementing a Plugin</h3>
77 * uplug_setPlugName(plug, "Simple Plugin");
88 * <p>The UPlugData* is an opaque pointer to the plugin-specific data, and is
92 * <ol><li>The plugin MUST always return UPLUG_TOKEN as a return value- to
93 * indicate that it is a valid plugin.</li>
96 * plugin MUST call uplug_setPlugLevel() to indicate whether it is a high
97 * level or low level plugin.</li>
99 * <li>When the 'reason' parameter is UPLUG_REASON_QUERY, the plugin
100 * SHOULD call uplug_setPlugName to indicate a human readable plugin name.</li></ol>
122 * Opaque structure passed to/from a plugin.
133 * Random Token to identify a valid ICU plugin. Plugins must return this
147 * Return value from a plugin entrypoint.
159 UPLUG_REASON_QUERY = 0, /**< The plugin is being queried for info. **/
160 UPLUG_REASON_LOAD = 1, /**< The plugin is being loaded. **/
161 UPLUG_REASON_UNLOAD = 2, /**< The plugin is being unloaded. **/
171 * Level of plugin loading
178 …UPLUG_LEVEL_INVALID = 0, /**< The plugin is invalid, hasn't called uplug_setLevel, or can't lo…
179 UPLUG_LEVEL_UNKNOWN = 1, /**< The plugin is waiting to be installed. **/
180 UPLUG_LEVEL_LOW = 2, /**< The plugin must be called before u_init completes **/
181 UPLUG_LEVEL_HIGH = 3, /**< The plugin can run at any time. **/
190 * Entrypoint for an ICU plugin.
192 * @param status the plugin's extended status code.
193 * @return A valid plugin must return UPLUG_TOKEN
204 * Request that this plugin not be unloaded at cleanup time.
207 * @param plug plugin
208 * @param dontUnload set true if this plugin can't be unloaded
215 * Set the level of this plugin.
216 * @param plug plugin data handle
217 * @param level the level of this plugin
224 * Get the level of this plugin.
225 * @param plug plugin data handle
226 * @return the level of this plugin
245 * @return The error code of this plugin's load attempt.
252 * Set the human-readable name of this plugin.
253 * @param plug plugin data handle
254 …* @param name the name of this plugin. The first UPLUG_NAME_MAX characters willi be copied into a …
261 * Get the human-readable name of this plugin.
262 * @param plug plugin data handle
263 * @return the name of this plugin
270 * Return the symbol name for this plugin, if known.
271 * @param plug plugin data handle
279 * Return the library name for this plugin, if known.
280 * @param plug plugin data handle
289 * Return the library used for this plugin, if known.
291 * @param plug plugin data handle
299 * Return the plugin-specific context data.
300 * @param plug plugin data handle
308 * Set the plugin-specific context data.
309 * @param plug plugin data handle
320 * @param plug plugin data handle
339 * @return the next oldest plugin, or NULL if no more.
346 * Inject a plugin as if it were loaded from a library.
354 * @return the new UPlugData associated with this plugin, or NULL if error.
362 * Inject a plugin from a library, as if the information came from a config file.
365 * @param sym symbol of plugin (UPlugEntrypoint function)
368 * @return the new UPlugData associated with this plugin, or NULL if error.
375 * Remove a plugin.
376 * Will request the plugin to be unloaded, and close the library if needed
377 * @param plug plugin handle to close