96 if (
table[type].
u.s.set_current (p))
107 fprintf (stderr,
"FATAL: No %s plugin found.\n",
table[type].name);
114 if (!
table[type].
u.s.set_current (p))
126 if (!
table[GPOINTER_TO_INT (type)].
u.m.start (p))
153 return tp ? tp->vtable :
NULL;
180 table[GPOINTER_TO_INT (type)].u.m.stop (p);
194 (
table[type].
u.s.get_current ()));
231 if (
table[type].
u.s.set_current (p))
234 fprintf (stderr,
"%s failed to start; falling back to %s.\n",
239 if (
table[type].
u.s.set_current (old))
242 fprintf (stderr,
"FATAL: %s failed to start.\n",
plugin_get_name (old));
254 if (!
table[type].
u.m.start (p))
279 g_return_val_if_fail (enable,
FALSE);
307 return header->take_message (code, data, size);
314 g_return_if_fail (header);
326 g_return_if_fail (header);
329 header->configure ();