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 ()));
228 if (
table[type].
u.s.set_current (p))
231 fprintf (stderr,
"%s failed to start; falling back to %s.\n",
236 if (
table[type].
u.s.set_current (old))
239 fprintf (stderr,
"FATAL: %s failed to start.\n",
plugin_get_name (old));
251 if (
table[type].
u.m.start && !
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 ();