src/plugin.h

changeset 8735
01248ea222d3
parent 8713
8a7baa8f8460
child 8749
fb487e9e101a
equal deleted inserted replaced
8734:afa380e9818c 8735:01248ea222d3
378 void gaim_plugins_unregister_probe_notify_cb(void (*func)(void *)); 378 void gaim_plugins_unregister_probe_notify_cb(void (*func)(void *));
379 379
380 /** 380 /**
381 * Registers a function that will be called when a plugin is loaded. 381 * Registers a function that will be called when a plugin is loaded.
382 * 382 *
383 * @param func The callback functino. 383 * @param func The callback function.
384 * @param data Data to pass to the callback. 384 * @param data Data to pass to the callback.
385 */ 385 */
386 void gaim_plugins_register_load_notify_cb(void (*func)(GaimPlugin *, void *), 386 void gaim_plugins_register_load_notify_cb(void (*func)(GaimPlugin *, void *),
387 void *data); 387 void *data);
388 388
389 /** 389 /**
390 * Unregisters a function that would be called when a plugin is loaded. 390 * Unregisters a function that would be called when a plugin is loaded.
391 * 391 *
392 * @param func The callback functino. 392 * @param func The callback function.
393 */ 393 */
394 void gaim_plugins_unregister_load_notify_cb(void (*func)(GaimPlugin *, void *)); 394 void gaim_plugins_unregister_load_notify_cb(void (*func)(GaimPlugin *, void *));
395 395
396 /** 396 /**
397 * Registers a function that will be called when a plugin is unloaded. 397 * Registers a function that will be called when a plugin is unloaded.
398 * 398 *
399 * @param func The callback functino. 399 * @param func The callback function.
400 * @param data Data to pass to the callback. 400 * @param data Data to pass to the callback.
401 */ 401 */
402 void gaim_plugins_register_unload_notify_cb(void (*func)(GaimPlugin *, void *), 402 void gaim_plugins_register_unload_notify_cb(void (*func)(GaimPlugin *, void *),
403 void *data); 403 void *data);
404 404
405 /** 405 /**
406 * Unregisters a function that would be called when a plugin is unloaded. 406 * Unregisters a function that would be called when a plugin is unloaded.
407 * 407 *
408 * @param func The callback functino. 408 * @param func The callback function.
409 */ 409 */
410 void gaim_plugins_unregister_unload_notify_cb(void (*func)(GaimPlugin *, 410 void gaim_plugins_unregister_unload_notify_cb(void (*func)(GaimPlugin *,
411 void *)); 411 void *));
412 412
413 /** 413 /**

mercurial