From: Rico Tzschichholz Date: Mon, 19 Mar 2018 07:23:37 +0000 (+0100) Subject: vapi: Remove tracker-indexer-module-1.0 bindings X-Git-Tag: 0.41.90~232 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5876803c97afddcb0591d557fce3bcbc9f018f78;p=thirdparty%2Fvala.git vapi: Remove tracker-indexer-module-1.0 bindings https://bugzilla.gnome.org/show_bug.cgi?id=794479 --- diff --git a/vapi/Makefile.am b/vapi/Makefile.am index 60b124093..2a8e2f6bd 100644 --- a/vapi/Makefile.am +++ b/vapi/Makefile.am @@ -252,7 +252,6 @@ dist_vapi_DATA = \ taglib_c.vapi \ tiff.vapi \ tokyocabinet.vapi \ - tracker-indexer-module-1.0.vapi \ twitter-glib-1.0.deps \ twitter-glib-1.0.vapi \ udisks2.deps \ @@ -317,7 +316,6 @@ GIDL_BINDINGS = \ libwnck-1.0 \ loudmouth-1.0 \ purple \ - tracker-indexer-module-1.0 \ twitter-glib-1.0 \ unique-1.0 \ vte \ @@ -697,9 +695,6 @@ rest-0.7: rest-extras-0.7: $(GENVAPI) --library $(srcdir)/rest-extras-0.7 --metadatadir $(METADATADIR) --pkg rest-0.7 $(GIRDIR)/RestExtras-0.7.gir -tracker-indexer-module-1.0: - $(GENVAPI) --library $(srcdir)/tracker-indexer-module-1.0 $(PACKAGESDIR)/tracker-indexer-module-1.0/tracker-indexer-module-1.0-custom.vala $(PACKAGESDIR)/tracker-indexer-module-1.0/tracker-indexer-module-1.0.gi - twitter-glib-1.0: $(GENVAPI) --library $(srcdir)/twitter-glib-1.0 $(PACKAGESDIR)/twitter-glib-1.0/twitter-glib-1.0.gi diff --git a/vapi/packages/tracker-indexer-module-1.0/tracker-indexer-module-1.0-custom.vala b/vapi/packages/tracker-indexer-module-1.0/tracker-indexer-module-1.0-custom.vala deleted file mode 100644 index d154b3533..000000000 --- a/vapi/packages/tracker-indexer-module-1.0/tracker-indexer-module-1.0-custom.vala +++ /dev/null @@ -1,184 +0,0 @@ -namespace Tracker { - - namespace Ontology { - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")] - public static void field_add (Tracker.Field field); - - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")] - public static unowned string field_get_display_name (Tracker.Field field); - - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")] - public static unowned string field_get_id (string name); - - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")] - public static bool field_is_child_of (string child, string parent); - - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")] - public static unowned Tracker.Field get_field_by_id (int id); - - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")] - public static unowned Tracker.Field get_field_by_name (string name); - - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")] - public static unowned string get_field_name_by_service_name (Tracker.Field field, string service_str); - - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")] - public static unowned GLib.SList get_field_names_registered (string service_str); - - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")] - public static unowned string get_service_by_id (int id); - - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")] - public static unowned string get_service_by_mime (string mime); - - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")] - public static unowned Tracker.Service get_service_by_name (string service_str); - - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")] - public static Tracker.DBType get_service_db_by_name (string service_str); - - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")] - public static int get_service_id_by_name (string service_str); - - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")] - public static unowned GLib.SList get_service_names_registered (); - - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")] - public static unowned string get_service_parent (string service_str); - - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")] - public static unowned string get_service_parent_by_id (int id); - - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")] - public static int get_service_parent_id_by_id (int id); - - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")] - public static void init (); - - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")] - public static void service_add (Tracker.Service service, GLib.SList mimes, GLib.SList mime_prefixes); - - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")] - public static int service_get_key_metadata (string service_str, string meta_name); - - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")] - public static bool service_get_show_directories (string service_str); - - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")] - public static bool service_get_show_files (string service_str); - - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")] - public static bool service_has_embedded (string service_str); - - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")] - public static bool service_has_metadata (string service_str); - - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")] - public static bool service_has_text (string service_str); - - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")] - public static bool service_has_thumbnails (string service_str); - - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")] - public static bool service_is_valid (string service_str); - - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")] - public static void shutdown (); - - } - - namespace ModuleConfig{ - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-module-config.h")] - public static unowned string get_description (string name); - - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-module-config.h")] - public static bool get_enabled (string name); - - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-module-config.h")] - public static unowned GLib.List get_ignored_directories (string name); - - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-module-config.h")] - public static unowned GLib.List get_ignored_directory_patterns (string name); - - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-module-config.h")] - public static unowned GLib.List get_ignored_file_patterns (string name); - - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-module-config.h")] - public static unowned GLib.List get_ignored_files (string name); - - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-module-config.h")] - public static unowned GLib.List get_index_file_patterns (string name); - - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-module-config.h")] - public static unowned GLib.List get_index_files (string name); - - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-module-config.h")] - public static unowned GLib.List get_index_mime_types (string name); - - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-module-config.h")] - public static unowned string get_index_service (string name); - - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-module-config.h")] - public static unowned GLib.List get_modules (); - - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-module-config.h")] - public static unowned GLib.List get_monitor_directories (string name); - - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-module-config.h")] - public static unowned GLib.List get_monitor_recurse_directories (string name); - - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-module-config.h")] - public static bool init (); - - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-module-config.h")] - public static void shutdown (); - - } - - namespace Module { - [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h")] - public delegate void FileFreeDataFunc (); - [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h", has_target = false)] - public delegate void* FileGetDataFunc (string path); - [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h", has_target = false)] - public delegate unowned Tracker.Metadata FileGetMetadataFunc (Tracker.File file); - [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h", has_target = false)] - public delegate unowned string FileGetServiceTypeFunc (Tracker.File file); - [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h", has_target = false)] - public delegate unowned string FileGetText (Tracker.File path); - [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h", has_target = false)] - public delegate void FileGetUriFunc (Tracker.File file, string dirname, string basename); - [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h", has_target = false)] - public delegate bool FileIterContents (Tracker.File path); - [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h", has_target = false)] - public delegate unowned string GetDirectoriesFunc (); - [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h", has_target = false)] - public delegate unowned string GetNameFunc (); - [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h", has_target = false)] - public delegate void Init (); - [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h", has_target = false)] - public delegate void Shutdown (); - - [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h")] - public static void file_free_data (void* file_data); - [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h")] - public static void* file_get_data (string path); - [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h")] - public static unowned Tracker.Metadata file_get_metadata (Tracker.File file); - [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h")] - public static unowned string file_get_service_type (Tracker.File file); - [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h")] - public static unowned string file_get_text (Tracker.File file); - [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h")] - public static void file_get_uri (Tracker.File file, string dirname, string basename); - [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h")] - public static bool file_iter_contents (Tracker.File file); - [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h")] - public static unowned string get_name (); - [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h")] - public static void init (); - [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h")] - public static void shutdown (); - } - -} diff --git a/vapi/packages/tracker-indexer-module-1.0/tracker-indexer-module-1.0.defines b/vapi/packages/tracker-indexer-module-1.0/tracker-indexer-module-1.0.defines deleted file mode 100644 index 300b5b859..000000000 --- a/vapi/packages/tracker-indexer-module-1.0/tracker-indexer-module-1.0.defines +++ /dev/null @@ -1 +0,0 @@ --DTRACKER_ENABLE_INTERNALS diff --git a/vapi/packages/tracker-indexer-module-1.0/tracker-indexer-module-1.0.deps b/vapi/packages/tracker-indexer-module-1.0/tracker-indexer-module-1.0.deps deleted file mode 100644 index e69de29bb..000000000 diff --git a/vapi/packages/tracker-indexer-module-1.0/tracker-indexer-module-1.0.files b/vapi/packages/tracker-indexer-module-1.0/tracker-indexer-module-1.0.files deleted file mode 100644 index 899729a78..000000000 --- a/vapi/packages/tracker-indexer-module-1.0/tracker-indexer-module-1.0.files +++ /dev/null @@ -1,6 +0,0 @@ -include/tracker-1.0/ -lib/tracker/libtracker-indexer.so -lib/tracker/libstemmer.so -lib/tracker/libtracker-common.so -lib/tracker/libtracker-db.so - diff --git a/vapi/packages/tracker-indexer-module-1.0/tracker-indexer-module-1.0.gi b/vapi/packages/tracker-indexer-module-1.0/tracker-indexer-module-1.0.gi deleted file mode 100644 index e43ed6d9e..000000000 --- a/vapi/packages/tracker-indexer-module-1.0/tracker-indexer-module-1.0.gi +++ /dev/null @@ -1,1647 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/vapi/packages/tracker-indexer-module-1.0/tracker-indexer-module-1.0.metadata b/vapi/packages/tracker-indexer-module-1.0/tracker-indexer-module-1.0.metadata deleted file mode 100644 index 44944b935..000000000 --- a/vapi/packages/tracker-indexer-module-1.0/tracker-indexer-module-1.0.metadata +++ /dev/null @@ -1,8 +0,0 @@ -Tracker cheader_filename="tracker-1.0/libtracker-common/tracker-common.h" - -TrackerMetadata cheader_filename="tracker-1.0/libtracker-indexer/tracker-metadata.h" - -tracker_ontology_* hidden="1" -tracker_module_config_* hidden="1" -TrackerModule* hidden="1" -tracker_module_* hidden="1" diff --git a/vapi/packages/tracker-indexer-module-1.0/tracker-indexer-module-1.0.namespace b/vapi/packages/tracker-indexer-module-1.0/tracker-indexer-module-1.0.namespace deleted file mode 100644 index 7bd7aa09b..000000000 --- a/vapi/packages/tracker-indexer-module-1.0/tracker-indexer-module-1.0.namespace +++ /dev/null @@ -1 +0,0 @@ -Tracker diff --git a/vapi/tracker-indexer-module-1.0.vapi b/vapi/tracker-indexer-module-1.0.vapi deleted file mode 100644 index f6f767023..000000000 --- a/vapi/tracker-indexer-module-1.0.vapi +++ /dev/null @@ -1,462 +0,0 @@ -/* tracker-indexer-module-1.0.vapi generated by vapigen, do not modify. */ - -namespace Tracker { - namespace Module { - [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h")] - public delegate void FileFreeDataFunc (); - [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h", has_target = false)] - public delegate void* FileGetDataFunc (string path); - [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h", has_target = false)] - public delegate unowned Tracker.Metadata FileGetMetadataFunc (Tracker.File file); - [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h", has_target = false)] - public delegate unowned string FileGetServiceTypeFunc (Tracker.File file); - [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h", has_target = false)] - public delegate unowned string FileGetText (Tracker.File path); - [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h", has_target = false)] - public delegate void FileGetUriFunc (Tracker.File file, string dirname, string basename); - [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h", has_target = false)] - public delegate bool FileIterContents (Tracker.File path); - [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h", has_target = false)] - public delegate unowned string GetDirectoriesFunc (); - [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h", has_target = false)] - public delegate unowned string GetNameFunc (); - [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h", has_target = false)] - public delegate void Init (); - [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h", has_target = false)] - public delegate void Shutdown (); - [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h")] - public static void file_free_data (void* file_data); - [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h")] - public static void* file_get_data (string path); - [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h")] - public static unowned Tracker.Metadata file_get_metadata (Tracker.File file); - [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h")] - public static unowned string file_get_service_type (Tracker.File file); - [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h")] - public static unowned string file_get_text (Tracker.File file); - [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h")] - public static void file_get_uri (Tracker.File file, string dirname, string basename); - [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h")] - public static bool file_iter_contents (Tracker.File file); - [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h")] - public static unowned string get_name (); - [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h")] - public static void init (); - [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h")] - public static void shutdown (); - } - namespace ModuleConfig { - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-module-config.h")] - public static unowned string get_description (string name); - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-module-config.h")] - public static bool get_enabled (string name); - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-module-config.h")] - public static unowned GLib.List get_ignored_directories (string name); - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-module-config.h")] - public static unowned GLib.List get_ignored_directory_patterns (string name); - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-module-config.h")] - public static unowned GLib.List get_ignored_file_patterns (string name); - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-module-config.h")] - public static unowned GLib.List get_ignored_files (string name); - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-module-config.h")] - public static unowned GLib.List get_index_file_patterns (string name); - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-module-config.h")] - public static unowned GLib.List get_index_files (string name); - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-module-config.h")] - public static unowned GLib.List get_index_mime_types (string name); - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-module-config.h")] - public static unowned string get_index_service (string name); - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-module-config.h")] - public static unowned GLib.List get_modules (); - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-module-config.h")] - public static unowned GLib.List get_monitor_directories (string name); - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-module-config.h")] - public static unowned GLib.List get_monitor_recurse_directories (string name); - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-module-config.h")] - public static bool init (); - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-module-config.h")] - public static void shutdown (); - } - namespace Ontology { - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")] - public static void field_add (Tracker.Field field); - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")] - public static unowned string field_get_display_name (Tracker.Field field); - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")] - public static unowned string field_get_id (string name); - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")] - public static bool field_is_child_of (string child, string parent); - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")] - public static unowned Tracker.Field get_field_by_id (int id); - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")] - public static unowned Tracker.Field get_field_by_name (string name); - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")] - public static unowned string get_field_name_by_service_name (Tracker.Field field, string service_str); - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")] - public static unowned GLib.SList get_field_names_registered (string service_str); - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")] - public static unowned string get_service_by_id (int id); - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")] - public static unowned string get_service_by_mime (string mime); - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")] - public static unowned Tracker.Service get_service_by_name (string service_str); - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")] - public static Tracker.DBType get_service_db_by_name (string service_str); - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")] - public static int get_service_id_by_name (string service_str); - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")] - public static unowned GLib.SList get_service_names_registered (); - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")] - public static unowned string get_service_parent (string service_str); - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")] - public static unowned string get_service_parent_by_id (int id); - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")] - public static int get_service_parent_id_by_id (int id); - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")] - public static void init (); - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")] - public static void service_add (Tracker.Service service, GLib.SList mimes, GLib.SList mime_prefixes); - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")] - public static int service_get_key_metadata (string service_str, string meta_name); - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")] - public static bool service_get_show_directories (string service_str); - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")] - public static bool service_get_show_files (string service_str); - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")] - public static bool service_has_embedded (string service_str); - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")] - public static bool service_has_metadata (string service_str); - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")] - public static bool service_has_text (string service_str); - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")] - public static bool service_has_thumbnails (string service_str); - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")] - public static bool service_is_valid (string service_str); - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")] - public static void shutdown (); - } - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-common.h")] - public class Config : GLib.Object { - [CCode (has_construct_function = false)] - public Config (); - public void add_crawl_directory_roots (string roots); - public void add_disabled_modules (string modules); - public void add_no_watch_directory_roots (string roots); - public void add_watch_directory_roots (string roots); - public unowned GLib.SList get_crawl_directory_roots (); - public bool get_disable_indexing_on_battery (); - public bool get_disable_indexing_on_battery_init (); - public unowned GLib.SList get_disabled_modules (); - public bool get_enable_content_indexing (); - public bool get_enable_indexing (); - public bool get_enable_stemmer (); - public bool get_enable_thumbnails (); - public bool get_enable_watches (); - public bool get_enable_xesam (); - public bool get_fast_merges (); - public bool get_index_mounted_directories (); - public bool get_index_removable_devices (); - public int get_initial_sleep (); - public unowned string get_language (); - public int get_low_disk_space_limit (); - public bool get_low_memory_mode (); - public int get_max_bucket_count (); - public int get_max_text_to_index (); - public int get_max_word_length (); - public int get_max_words_to_index (); - public int get_min_bucket_count (); - public int get_min_word_length (); - public bool get_nfs_locking (); - public unowned GLib.SList get_no_index_file_types (); - public unowned GLib.SList get_no_watch_directory_roots (); - public int get_throttle (); - public int get_verbosity (); - public unowned GLib.SList get_watch_directory_roots (); - public void remove_disabled_modules (string module); - public void set_disable_indexing_on_battery (bool value); - public void set_disable_indexing_on_battery_init (bool value); - public void set_enable_content_indexing (bool value); - public void set_enable_indexing (bool value); - public void set_enable_stemmer (bool value); - public void set_enable_thumbnails (bool value); - public void set_enable_watches (bool value); - public void set_enable_xesam (bool value); - public void set_fast_merges (bool value); - public void set_index_mounted_directories (bool value); - public void set_index_removable_devices (bool value); - public void set_initial_sleep (int value); - public void set_language (string value); - public void set_low_disk_space_limit (int value); - public void set_low_memory_mode (bool value); - public void set_max_bucket_count (int value); - public void set_max_text_to_index (int value); - public void set_max_word_length (int value); - public void set_max_words_to_index (int value); - public void set_min_bucket_count (int value); - public void set_min_word_length (int value); - public void set_nfs_locking (bool value); - public void set_throttle (int value); - public void set_verbosity (int value); - public void* crawl_directory_roots { get; } - public bool disable_indexing_on_battery { get; set construct; } - public bool disable_indexing_on_battery_init { get; set construct; } - public void* disabled_modules { get; } - public bool enable_content_indexing { get; set construct; } - public bool enable_indexing { get; set construct; } - public bool enable_stemmer { get; set construct; } - public bool enable_thumbnails { get; set construct; } - public bool enable_watches { get; set construct; } - public bool enable_xesam { get; set construct; } - public bool fast_merges { get; set construct; } - public bool index_mounted_directories { get; set construct; } - public bool index_removable_devices { get; set construct; } - public int initial_sleep { get; set construct; } - public string language { get; set construct; } - public int low_disk_space_limit { get; set construct; } - public bool low_memory_mode { get; set construct; } - public int max_bucket_count { get; set construct; } - public int max_text_to_index { get; set construct; } - public int max_word_length { get; set construct; } - public int max_words_to_index { get; set construct; } - public int min_bucket_count { get; set construct; } - public int min_word_length { get; set construct; } - public bool nfs_locking { get; set construct; } - public void* no_index_file_types { get; } - public void* no_watch_directory_roots { get; } - public int throttle { get; set construct; } - public int verbosity { get; set construct; } - public void* watch_directory_roots { get; } - } - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-common.h")] - public class Field : GLib.Object { - [CCode (has_construct_function = false)] - public Field (); - public void append_child_id (string id); - public unowned GLib.SList get_child_ids (); - public Tracker.FieldType get_data_type (); - public bool get_delimited (); - public bool get_embedded (); - public unowned string get_field_name (); - public bool get_filtered (); - public unowned string get_id (); - public bool get_multiple_values (); - public unowned string get_name (); - public bool get_store_metadata (); - public int get_weight (); - public void set_child_ids (GLib.SList value); - public void set_data_type (Tracker.FieldType value); - public void set_delimited (bool value); - public void set_embedded (bool value); - public void set_field_name (string value); - public void set_filtered (bool value); - public void set_id (string value); - public void set_multiple_values (bool value); - public void set_name (string value); - public void set_store_metadata (bool value); - public void set_weight (int value); - public static unowned string type_to_string (Tracker.FieldType fieldtype); - public void* child_ids { get; set; } - public Tracker.FieldType data_type { get; set; } - public bool delimited { get; set; } - public bool embedded { get; set; } - public string field_name { get; set; } - public bool filtered { get; set; } - public string id { get; set; } - public bool multiple_values { get; set; } - public string name { get; set; } - public bool store_metadata { get; set; } - public int weight { get; set; } - } - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-common.h")] - [Compact] - public class File { - public void* data; - public weak string path; - public static void close (int fd, bool no_longer_needed); - public static unowned string get_mime_type (string uri); - public static int32 get_mtime (string uri); - public static void get_path_and_name (string uri, string path, string name); - public static uint32 get_size (string uri); - public static bool is_directory (string uri); - public static bool is_indexable (string uri); - public static bool is_valid (string uri); - public static int open (string uri, bool readahead); - public static bool unlink (string uri); - } - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-common.h")] - public class Language : GLib.Object { - [CCode (has_construct_function = false)] - public Language (Tracker.Config language); - public static bool check_exists (string language_code); - public unowned Tracker.Config get_config (); - public static unowned string get_default_code (); - public unowned GLib.HashTable get_stop_words (); - public void set_config (Tracker.Config config); - public unowned string stem_word (string word, int word_length); - public Tracker.Config config { get; set; } - public GLib.HashTable stop_words { get; } - } - [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-metadata.h")] - [Compact] - public class Metadata { - [CCode (has_construct_function = false)] - public Metadata (); - public void @foreach (Tracker.MetadataForeach func); - public void insert (string field_name, string value); - public void insert_multiple_values (string field_name, GLib.List list); - public unowned string lookup (string field_name); - public unowned GLib.List lookup_multiple_values (string field_name); - public static unowned Tracker.Metadata utils_get_data (string path); - public static unowned string utils_get_text (string path); - } - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-common.h")] - [Compact] - public class Parser { - [CCode (has_construct_function = false)] - public Parser (Tracker.Language language, int max_word_length, int min_word_length); - public bool is_stop_word (string word); - public unowned string next (int position, int byte_offset_start, int byte_offset_end, bool new_paragraph, bool stop_word, int word_length); - public unowned string process_word (string word, int length, bool do_strip); - public void reset (string txt, int txt_size, bool delimit_words, bool enable_stemmer, bool enable_stop_words, bool parse_reserved_words); - public void set_posititon (int position); - public static unowned GLib.HashTable text (GLib.HashTable word_table, string txt, int weight, Tracker.Language language, int max_words_to_index, int max_word_length, int min_word_length, bool filter_words, bool delimit_words); - public static unowned GLib.HashTable text_fast (GLib.HashTable word_table, string txt, int weight); - public static unowned string text_into_array (string text, Tracker.Language language, int max_word_length, int min_word_length); - public static unowned string text_to_string (string txt, Tracker.Language language, int max_word_length, int min_word_length, bool filter_words, bool filter_numbers, bool delimit); - } - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-common.h")] - public class Service : GLib.Object { - [CCode (has_construct_function = false)] - public Service (); - public unowned string get_content_metadata (); - public Tracker.DBType get_db_type (); - public bool get_embedded (); - public bool get_enabled (); - public bool get_has_full_text (); - public bool get_has_metadata (); - public bool get_has_thumbs (); - public int get_id (); - public unowned GLib.SList get_key_metadata (); - public unowned string get_name (); - public unowned string get_parent (); - public unowned string get_property_prefix (); - public bool get_show_service_directories (); - public bool get_show_service_files (); - public void set_content_metadata (string value); - public void set_db_type (Tracker.DBType value); - public void set_embedded (bool value); - public void set_enabled (bool value); - public void set_has_full_text (bool value); - public void set_has_metadata (bool value); - public void set_has_thumbs (bool value); - public void set_id (int value); - public void set_key_metadata (GLib.SList value); - public void set_name (string value); - public void set_parent (string value); - public void set_property_prefix (string value); - public void set_show_service_directories (bool value); - public void set_show_service_files (bool value); - public string content_metadata { get; set; } - public Tracker.DBType db_type { get; set; } - public bool embedded { get; set; } - public bool enabled { get; set; } - public bool has_full_text { get; set; } - public bool has_metadata { get; set; } - public bool has_thumbs { get; set; } - public int id { get; set; } - public void* key_metadata { get; set; } - public string name { get; set; } - public string parent { get; set; } - public string property_prefix { get; set; } - public bool show_service_directories { get; set; } - public bool show_service_files { get; set; } - } - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-common.h", cprefix = "TRACKER_DB_TYPE_")] - public enum DBType { - UNKNOWN, - DATA, - INDEX, - COMMON, - CONTENT, - EMAIL, - FILES, - XESAM, - CACHE, - USER - } - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-common.h", cprefix = "TRACKER_FIELD_TYPE_")] - public enum FieldType { - KEYWORD, - INDEX, - FULLTEXT, - STRING, - INTEGER, - DOUBLE, - DATE, - BLOB, - STRUCT, - LINK - } - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-common.h")] - public delegate void MetadataForeach (Tracker.Field field, void* value); - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-common.h")] - public static unowned string date_format (string time_string); - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-common.h")] - public static unowned string date_to_string (ulong date_time); - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-common.h")] - public static unowned string date_to_time_string (string date_string); - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-common.h")] - public static bool env_check_xdg_dirs (); - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-common.h")] - public static unowned string escape_string (string @in); - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-common.h")] - public static unowned string gint32_to_string (int32 i); - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-common.h")] - public static unowned string gint_to_string (int i); - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-common.h")] - public static unowned string glong_to_string (long i); - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-common.h")] - public static unowned GLib.SList gslist_copy_with_string_data (GLib.SList list); - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-common.h")] - public static unowned string gslist_to_string_list (GLib.SList list); - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-common.h")] - public static unowned string guint32_to_string (uint32 i); - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-common.h")] - public static unowned string guint_to_string (uint i); - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-common.h")] - public static bool is_empty_string (string str); - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-common.h")] - public static unowned string path_evaluate_name (string uri); - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-common.h")] - public static void path_hash_table_filter_duplicates (GLib.HashTable roots); - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-common.h")] - public static bool path_is_in_path (string path, string in_path); - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-common.h")] - public static unowned GLib.SList path_list_filter_duplicates (GLib.SList roots); - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-common.h")] - public static void path_remove (string uri); - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-common.h")] - public static unowned string seconds_estimate_to_string (double seconds_elapsed, bool short_string, uint items_done, uint items_remaining); - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-common.h")] - public static unowned string seconds_to_string (double seconds_elapsed, bool short_string); - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-common.h")] - public static unowned string string_boolean_to_string_gint (string value); - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-common.h")] - public static int string_in_string_list (string str, string strv); - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-common.h")] - public static unowned GLib.SList string_list_to_gslist (string strv, size_t length); - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-common.h")] - public static unowned string string_list_to_string (string strv, size_t length, char sep); - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-common.h")] - public static unowned string string_remove (string haystack, string needle); - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-common.h")] - public static unowned string string_replace (string haystack, string needle, string replacement); - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-common.h")] - public static ulong string_to_date (string time_string); - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-common.h")] - public static unowned string string_to_string_list (string str); - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-common.h")] - public static bool string_to_uint (string s, uint ret); - [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-common.h")] - public static void throttle (Tracker.Config config, int multiplier); -}