1 /* tracker-indexer-module-1.0.vapi generated by vapigen, do not modify. */
3 [CCode (cprefix = "Tracker", lower_case_cprefix = "tracker_")]
5 [CCode (cprefix = "TrackerOntology", lower_case_cprefix = "tracker_ontology_")]
7 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")]
8 public static void field_add (Tracker.Field field);
9 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")]
10 public static weak string field_get_display_name (Tracker.Field field);
11 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")]
12 public static weak string field_get_id (string name);
13 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")]
14 public static bool field_is_child_of (string child, string parent);
15 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")]
16 public static weak Tracker.Field get_field_by_id (int id);
17 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")]
18 public static weak Tracker.Field get_field_by_name (string name);
19 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")]
20 public static weak string get_field_name_by_service_name (Tracker.Field field, string service_str);
21 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")]
22 public static weak GLib.SList get_field_names_registered (string service_str);
23 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")]
24 public static weak string get_service_by_id (int id);
25 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")]
26 public static weak string get_service_by_mime (string mime);
27 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")]
28 public static weak Tracker.Service get_service_by_name (string service_str);
29 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")]
30 public static Tracker.DBType get_service_db_by_name (string service_str);
31 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")]
32 public static int get_service_id_by_name (string service_str);
33 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")]
34 public static weak GLib.SList get_service_names_registered ();
35 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")]
36 public static weak string get_service_parent (string service_str);
37 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")]
38 public static weak string get_service_parent_by_id (int id);
39 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")]
40 public static int get_service_parent_id_by_id (int id);
41 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")]
42 public static void init ();
43 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")]
44 public static void service_add (Tracker.Service service, GLib.SList mimes, GLib.SList mime_prefixes);
45 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")]
46 public static int service_get_key_metadata (string service_str, string meta_name);
47 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")]
48 public static bool service_get_show_directories (string service_str);
49 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")]
50 public static bool service_get_show_files (string service_str);
51 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")]
52 public static bool service_has_embedded (string service_str);
53 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")]
54 public static bool service_has_metadata (string service_str);
55 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")]
56 public static bool service_has_text (string service_str);
57 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")]
58 public static bool service_has_thumbnails (string service_str);
59 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")]
60 public static bool service_is_valid (string service_str);
61 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")]
62 public static void shutdown ();
64 [CCode (cprefix = "TrackerModuleConfig", lower_case_cprefix = "tracker_module_config_")]
65 namespace ModuleConfig {
66 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-module-config.h")]
67 public static weak string get_description (string name);
68 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-module-config.h")]
69 public static bool get_enabled (string name);
70 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-module-config.h")]
71 public static weak GLib.List get_ignored_directories (string name);
72 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-module-config.h")]
73 public static weak GLib.List get_ignored_directory_patterns (string name);
74 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-module-config.h")]
75 public static weak GLib.List get_ignored_file_patterns (string name);
76 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-module-config.h")]
77 public static weak GLib.List get_ignored_files (string name);
78 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-module-config.h")]
79 public static weak GLib.List get_index_file_patterns (string name);
80 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-module-config.h")]
81 public static weak GLib.List get_index_files (string name);
82 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-module-config.h")]
83 public static weak GLib.List get_index_mime_types (string name);
84 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-module-config.h")]
85 public static weak string get_index_service (string name);
86 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-module-config.h")]
87 public static weak GLib.List get_modules ();
88 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-module-config.h")]
89 public static weak GLib.List get_monitor_directories (string name);
90 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-module-config.h")]
91 public static weak GLib.List get_monitor_recurse_directories (string name);
92 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-module-config.h")]
93 public static bool init ();
94 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-module-config.h")]
95 public static void shutdown ();
97 [CCode (cprefix = "TrackerModule", lower_case_cprefix = "tracker_module_")]
99 [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h")]
100 public delegate void FileFreeDataFunc ();
101 [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h")]
102 public static delegate void* FileGetDataFunc (string path);
103 [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h")]
104 public static delegate weak Tracker.Metadata FileGetMetadataFunc (Tracker.File file);
105 [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h")]
106 public static delegate weak string FileGetServiceTypeFunc (Tracker.File file);
107 [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h")]
108 public static delegate weak string FileGetText (Tracker.File path);
109 [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h")]
110 public static delegate void FileGetUriFunc (Tracker.File file, string dirname, string basename);
111 [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h")]
112 public static delegate bool FileIterContents (Tracker.File path);
113 [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h")]
114 public static delegate weak string GetDirectoriesFunc ();
115 [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h")]
116 public static delegate weak string GetNameFunc ();
117 [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h")]
118 public static delegate void Init ();
119 [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h")]
120 public static delegate void Shutdown ();
121 [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h")]
122 public static void file_free_data (void* file_data);
123 [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h")]
124 public static void* file_get_data (string path);
125 [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h")]
126 public static weak Tracker.Metadata file_get_metadata (Tracker.File file);
127 [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h")]
128 public static weak string file_get_service_type (Tracker.File file);
129 [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h")]
130 public static weak string file_get_text (Tracker.File file);
131 [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h")]
132 public static void file_get_uri (Tracker.File file, string dirname, string basename);
133 [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h")]
134 public static bool file_iter_contents (Tracker.File file);
135 [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h")]
136 public static weak string get_name ();
137 [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h")]
138 public static void init ();
139 [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h")]
140 public static void shutdown ();
142 [CCode (cprefix = "TRACKER_DB_TYPE_", cheader_filename = "tracker-1.0/libtracker-common/tracker-common.h")]
155 [CCode (cprefix = "TRACKER_FIELD_TYPE_", cheader_filename = "tracker-1.0/libtracker-common/tracker-common.h")]
156 public enum FieldType {
169 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-common.h")]
171 public weak string path;
173 public static void close (int fd, bool no_longer_needed);
174 public static weak string get_mime_type (string uri);
175 public static int get_mtime (string uri);
176 public static void get_path_and_name (string uri, string path, string name);
177 public static uint get_size (string uri);
178 public static bool is_directory (string uri);
179 public static bool is_indexable (string uri);
180 public static bool is_valid (string uri);
181 public static int open (string uri, bool readahead);
182 public static bool unlink (string uri);
185 [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-metadata.h")]
186 public class Metadata {
187 public void @foreach (Tracker.MetadataForeach func);
188 public void insert (string field_name, string value);
189 public void insert_multiple_values (string field_name, GLib.List list);
190 public weak string lookup (string field_name);
191 public weak GLib.List lookup_multiple_values (string field_name);
193 public static weak Tracker.Metadata utils_get_data (string path);
194 public static weak string utils_get_text (string path);
197 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-common.h")]
198 public class Parser {
199 public bool is_stop_word (string word);
200 public Parser (Tracker.Language language, int max_word_length, int min_word_length);
201 public weak string next (int position, int byte_offset_start, int byte_offset_end, bool new_paragraph, bool stop_word, int word_length);
202 public weak string process_word (string word, int length, bool do_strip);
203 public void reset (string txt, int txt_size, bool delimit_words, bool enable_stemmer, bool enable_stop_words, bool parse_reserved_words);
204 public void set_posititon (int position);
205 public static weak 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);
206 public static weak GLib.HashTable text_fast (GLib.HashTable word_table, string txt, int weight);
207 public static weak string text_into_array (string text, Tracker.Language language, int max_word_length, int min_word_length);
208 public static weak 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);
210 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-common.h")]
211 public class Config : GLib.Object {
212 public void add_crawl_directory_roots (string roots);
213 public void add_disabled_modules (string modules);
214 public void add_no_watch_directory_roots (string roots);
215 public void add_watch_directory_roots (string roots);
216 public weak GLib.SList get_crawl_directory_roots ();
217 public bool get_disable_indexing_on_battery ();
218 public bool get_disable_indexing_on_battery_init ();
219 public weak GLib.SList get_disabled_modules ();
220 public bool get_enable_content_indexing ();
221 public bool get_enable_indexing ();
222 public bool get_enable_stemmer ();
223 public bool get_enable_thumbnails ();
224 public bool get_enable_watches ();
225 public bool get_enable_xesam ();
226 public bool get_fast_merges ();
227 public bool get_index_mounted_directories ();
228 public bool get_index_removable_devices ();
229 public int get_initial_sleep ();
230 public weak string get_language ();
231 public int get_low_disk_space_limit ();
232 public bool get_low_memory_mode ();
233 public int get_max_bucket_count ();
234 public int get_max_text_to_index ();
235 public int get_max_word_length ();
236 public int get_max_words_to_index ();
237 public int get_min_bucket_count ();
238 public int get_min_word_length ();
239 public bool get_nfs_locking ();
240 public weak GLib.SList get_no_index_file_types ();
241 public weak GLib.SList get_no_watch_directory_roots ();
242 public int get_throttle ();
243 public int get_verbosity ();
244 public weak GLib.SList get_watch_directory_roots ();
246 public void remove_disabled_modules (string module);
247 public void set_disable_indexing_on_battery (bool value);
248 public void set_disable_indexing_on_battery_init (bool value);
249 public void set_enable_content_indexing (bool value);
250 public void set_enable_indexing (bool value);
251 public void set_enable_stemmer (bool value);
252 public void set_enable_thumbnails (bool value);
253 public void set_enable_watches (bool value);
254 public void set_enable_xesam (bool value);
255 public void set_fast_merges (bool value);
256 public void set_index_mounted_directories (bool value);
257 public void set_index_removable_devices (bool value);
258 public void set_initial_sleep (int value);
259 public void set_language (string value);
260 public void set_low_disk_space_limit (int value);
261 public void set_low_memory_mode (bool value);
262 public void set_max_bucket_count (int value);
263 public void set_max_text_to_index (int value);
264 public void set_max_word_length (int value);
265 public void set_max_words_to_index (int value);
266 public void set_min_bucket_count (int value);
267 public void set_min_word_length (int value);
268 public void set_nfs_locking (bool value);
269 public void set_throttle (int value);
270 public void set_verbosity (int value);
271 public void* crawl_directory_roots { get; }
272 public bool disable_indexing_on_battery { get; set construct; }
273 public bool disable_indexing_on_battery_init { get; set construct; }
274 public void* disabled_modules { get; }
275 public bool enable_content_indexing { get; set construct; }
276 public bool enable_indexing { get; set construct; }
277 public bool enable_stemmer { get; set construct; }
278 public bool enable_thumbnails { get; set construct; }
279 public bool enable_watches { get; set construct; }
280 public bool enable_xesam { get; set construct; }
281 public bool fast_merges { get; set construct; }
282 public bool index_mounted_directories { get; set construct; }
283 public bool index_removable_devices { get; set construct; }
284 public int initial_sleep { get; set construct; }
285 public string language { get; set construct; }
286 public int low_disk_space_limit { get; set construct; }
287 public bool low_memory_mode { get; set construct; }
288 public int max_bucket_count { get; set construct; }
289 public int max_text_to_index { get; set construct; }
290 public int max_word_length { get; set construct; }
291 public int max_words_to_index { get; set construct; }
292 public int min_bucket_count { get; set construct; }
293 public int min_word_length { get; set construct; }
294 public bool nfs_locking { get; set construct; }
295 public void* no_index_file_types { get; }
296 public void* no_watch_directory_roots { get; }
297 public int throttle { get; set construct; }
298 public int verbosity { get; set construct; }
299 public void* watch_directory_roots { get; }
301 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-common.h")]
302 public class Field : GLib.Object {
303 public void append_child_id (string id);
304 public weak GLib.SList get_child_ids ();
305 public Tracker.FieldType get_data_type ();
306 public bool get_delimited ();
307 public bool get_embedded ();
308 public weak string get_field_name ();
309 public bool get_filtered ();
310 public weak string get_id ();
311 public bool get_multiple_values ();
312 public weak string get_name ();
313 public bool get_store_metadata ();
314 public int get_weight ();
316 public void set_child_ids (GLib.SList value);
317 public void set_data_type (Tracker.FieldType value);
318 public void set_delimited (bool value);
319 public void set_embedded (bool value);
320 public void set_field_name (string value);
321 public void set_filtered (bool value);
322 public void set_id (string value);
323 public void set_multiple_values (bool value);
324 public void set_name (string value);
325 public void set_store_metadata (bool value);
326 public void set_weight (int value);
327 public static weak string type_to_string (Tracker.FieldType fieldtype);
328 public void* child_ids { get; set; }
329 public Tracker.FieldType data_type { get; set; }
330 public bool delimited { get; set; }
331 public bool embedded { get; set; }
332 public string field_name { get; set; }
333 public bool filtered { get; set; }
334 public string id { get; set; }
335 public bool multiple_values { get; set; }
336 public string name { get; set; }
337 public bool store_metadata { get; set; }
338 public int weight { get; set; }
340 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-common.h")]
341 public class Language : GLib.Object {
342 public static bool check_exists (string language_code);
343 public weak Tracker.Config get_config ();
344 public static weak string get_default_code ();
345 public weak GLib.HashTable get_stop_words ();
346 public Language (Tracker.Config language);
347 public void set_config (Tracker.Config config);
348 public weak string stem_word (string word, int word_length);
349 public Tracker.Config config { get; set; }
350 public GLib.HashTable stop_words { get; }
352 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-common.h")]
353 public class Service : GLib.Object {
354 public weak string get_content_metadata ();
355 public Tracker.DBType get_db_type ();
356 public bool get_embedded ();
357 public bool get_enabled ();
358 public bool get_has_full_text ();
359 public bool get_has_metadata ();
360 public bool get_has_thumbs ();
361 public int get_id ();
362 public weak GLib.SList get_key_metadata ();
363 public weak string get_name ();
364 public weak string get_parent ();
365 public weak string get_property_prefix ();
366 public bool get_show_service_directories ();
367 public bool get_show_service_files ();
369 public void set_content_metadata (string value);
370 public void set_db_type (Tracker.DBType value);
371 public void set_embedded (bool value);
372 public void set_enabled (bool value);
373 public void set_has_full_text (bool value);
374 public void set_has_metadata (bool value);
375 public void set_has_thumbs (bool value);
376 public void set_id (int value);
377 public void set_key_metadata (GLib.SList value);
378 public void set_name (string value);
379 public void set_parent (string value);
380 public void set_property_prefix (string value);
381 public void set_show_service_directories (bool value);
382 public void set_show_service_files (bool value);
383 public string content_metadata { get; set; }
384 public Tracker.DBType db_type { get; set; }
385 public bool embedded { get; set; }
386 public bool enabled { get; set; }
387 public bool has_full_text { get; set; }
388 public bool has_metadata { get; set; }
389 public bool has_thumbs { get; set; }
390 public int id { get; set; }
391 public void* key_metadata { get; set; }
392 public string name { get; set; }
393 public string parent { get; set; }
394 public string property_prefix { get; set; }
395 public bool show_service_directories { get; set; }
396 public bool show_service_files { get; set; }
398 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-common.h")]
399 public delegate void MetadataForeach (Tracker.Field field, void* value);
400 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-common.h")]
401 public static weak string date_format (string time_string);
402 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-common.h")]
403 public static weak string date_to_string (ulong date_time);
404 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-common.h")]
405 public static weak string date_to_time_string (string date_string);
406 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-common.h")]
407 public static bool env_check_xdg_dirs ();
408 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-common.h")]
409 public static weak string escape_string (string @in);
410 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-common.h")]
411 public static weak string gint32_to_string (int i);
412 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-common.h")]
413 public static weak string gint_to_string (int i);
414 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-common.h")]
415 public static weak string glong_to_string (long i);
416 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-common.h")]
417 public static weak GLib.SList gslist_copy_with_string_data (GLib.SList list);
418 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-common.h")]
419 public static weak string gslist_to_string_list (GLib.SList list);
420 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-common.h")]
421 public static weak string guint32_to_string (uint i);
422 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-common.h")]
423 public static weak string guint_to_string (uint i);
424 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-common.h")]
425 public static bool is_empty_string (string str);
426 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-common.h")]
427 public static weak string path_evaluate_name (string uri);
428 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-common.h")]
429 public static void path_hash_table_filter_duplicates (GLib.HashTable roots);
430 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-common.h")]
431 public static bool path_is_in_path (string path, string in_path);
432 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-common.h")]
433 public static weak GLib.SList path_list_filter_duplicates (GLib.SList roots);
434 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-common.h")]
435 public static void path_remove (string uri);
436 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-common.h")]
437 public static weak string seconds_estimate_to_string (double seconds_elapsed, bool short_string, uint items_done, uint items_remaining);
438 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-common.h")]
439 public static weak string seconds_to_string (double seconds_elapsed, bool short_string);
440 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-common.h")]
441 public static weak string string_boolean_to_string_gint (string value);
442 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-common.h")]
443 public static int string_in_string_list (string str, string strv);
444 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-common.h")]
445 public static weak GLib.SList string_list_to_gslist (string strv, ulong length);
446 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-common.h")]
447 public static weak string string_list_to_string (string strv, ulong length, char sep);
448 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-common.h")]
449 public static weak string string_remove (string haystack, string needle);
450 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-common.h")]
451 public static weak string string_replace (string haystack, string needle, string replacement);
452 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-common.h")]
453 public static ulong string_to_date (string time_string);
454 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-common.h")]
455 public static weak string string_to_string_list (string str);
456 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-common.h")]
457 public static bool string_to_uint (string s, uint ret);
458 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-common.h")]
459 public static void throttle (Tracker.Config config, int multiplier);