static void udisks_daemon_constr ucted GObject object UDisksDaemon dae

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
static void
udisks_daemon_constructed (GObject *object)
{
UDisksDaemon *daemon = UDISKS_DAEMON (object);
GError *error;
gboolean ret = FALSE;
/* NULL means no specific so_name (implementation) */
BDPluginSpec part_plugin = {BD_PLUGIN_PART, NULL};
BDPluginSpec swap_plugin = {BD_PLUGIN_SWAP, NULL};
BDPluginSpec loop_plugin = {BD_PLUGIN_LOOP, NULL};
BDPluginSpec mdraid_plugin = {BD_PLUGIN_MDRAID, NULL};
BDPluginSpec fs_plugin = {BD_PLUGIN_FS, NULL};
BDPluginSpec crypto_plugin = {BD_PLUGIN_CRYPTO, NULL};
/* The core daemon needs the part, swap, loop, mdraid, fs and crypto plugins.
Additional plugins are required by various modules, but they make sure
plugins are loaded themselves. */