-
-#if 0
-#ifdef HAVE_TRACKER_MINER
- EC_INIT;
- const char *f = p;
-
- if (!f)
- goto EC_CLEANUP;
-
- GError *error = NULL;
- GFile *file = NULL;
-
- file = g_file_new_for_commandline_arg(f);
-
- become_root();
- tracker_miner_manager_index_file(manager, file, &error);
- unbecome_root();
-
- if (error)
- LOG(log_error, logtype_sl, "sl_mod_index_file(\"%s\"): indexing failed", f);
- else
- LOG(log_debug, logtype_sl, "sl_mod_index_file(\"%s\"): indexing file was successful", f);
-
-EC_CLEANUP:
- if (file)
- g_object_unref(file);
- EC_EXIT;
-#else
- return 0;
-#endif /* HAVE_TRACKER_MINER */
-#endif /* 0 */