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