87 if (
table[type].
u.s.set_current (p))
98 fprintf (stderr,
"FATAL: No %s plugin found.\n",
table[type].name);
105 if (!
table[type].
u.s.set_current (p))
117 if (!
table[GPOINTER_TO_INT (type)].
u.m.start (p))
135 if (
table[type].
u.m.start)
147 return tp ? tp->vtable :
NULL;
174 table[GPOINTER_TO_INT (type)].u.m.stop (p);
188 (
table[type].
u.s.get_current ()));
230 if (
table[type].
u.s.set_current (p))
233 fprintf (stderr,
"%s failed to start; falling back to %s.\n",
238 if (
table[type].
u.s.set_current (old))
241 fprintf (stderr,
"FATAL: %s failed to start.\n",
plugin_get_name (old));
256 if (
table[type].
u.m.start && !
table[type].u.m.start (p))
281 g_return_val_if_fail (enable,
FALSE);
309 return header->take_message (code, data, size);
316 g_return_if_fail (header);
328 g_return_if_fail (header);
331 header->configure ();