• 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>
123 * Typedef for opaque structure passed to/from a plugin.
132 * Random Token to identify a valid ICU plugin. Plugins must return this
146 * Return value from a plugin entrypoint.
158 UPLUG_REASON_QUERY = 0, /**< The plugin is being queried for info. **/
159 UPLUG_REASON_LOAD = 1, /**< The plugin is being loaded. **/
160 UPLUG_REASON_UNLOAD = 2, /**< The plugin is being unloaded. **/
170 * Level of plugin loading
177 …UPLUG_LEVEL_INVALID = 0, /**< The plugin is invalid, hasn't called uplug_setLevel, or can't lo…
178 UPLUG_LEVEL_UNKNOWN = 1, /**< The plugin is waiting to be installed. **/
179 UPLUG_LEVEL_LOW = 2, /**< The plugin must be called before u_init completes **/
180 UPLUG_LEVEL_HIGH = 3, /**< The plugin can run at any time. **/
189 * Entrypoint for an ICU plugin.
191 * @param status the plugin's extended status code.
192 * @return A valid plugin must return UPLUG_TOKEN
203 * Request that this plugin not be unloaded at cleanup time.
206 * @param plug plugin
207 * @param dontUnload set true if this plugin can't be unloaded
214 * Set the level of this plugin.
215 * @param plug plugin data handle
216 * @param level the level of this plugin
223 * Get the level of this plugin.
224 * @param plug plugin data handle
225 * @return the level of this plugin
244 * @return The error code of this plugin's load attempt.
251 * Set the human-readable name of this plugin.
252 * @param plug plugin data handle
253 …* @param name the name of this plugin. The first UPLUG_NAME_MAX characters willi be copied into a …
260 * Get the human-readable name of this plugin.
261 * @param plug plugin data handle
262 * @return the name of this plugin
269 * Return the symbol name for this plugin, if known.
270 * @param plug plugin data handle
278 * Return the library name for this plugin, if known.
279 * @param plug plugin data handle
288 * Return the library used for this plugin, if known.
290 * @param plug plugin data handle
298 * Return the plugin-specific context data.
299 * @param plug plugin data handle
307 * Set the plugin-specific context data.
308 * @param plug plugin data handle
319 * @param plug plugin data handle
338 * @return the next oldest plugin, or NULL if no more.
345 * Inject a plugin as if it were loaded from a library.
353 * @return the new UPlugData associated with this plugin, or NULL if error.
361 * Inject a plugin from a library, as if the information came from a config file.
364 * @param sym symbol of plugin (UPlugEntrypoint function)
367 * @return the new UPlugData associated with this plugin, or NULL if error.
374 * Remove a plugin.
375 * Will request the plugin to be unloaded, and close the library if needed
376 * @param plug plugin handle to close