7 char *gaim_plugin_error(int);
9 char *gaim_plugin_init(GModule
*handle
) {
12 /* so here, we load any callbacks, do the normal stuff */
17 /* there's a 1 in 3 chance there *won't* be an error :) */
18 return gaim_plugin_error(error
);
21 void gaim_plugin_remove() {
22 /* this only gets called if we get loaded successfully, and then
26 char *gaim_plugin_error(int error
) {
27 /* by the time we've gotten here, all our callbacks are removed.
28 * we just have to deal with what the error was (as defined by us)
29 * and do any other clean-up stuff we need to do. */
34 return "Internal plugin error: exiting.";
41 return "Error Tester " VERSION
;
45 return "A nice little program that causes error messages";