1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
|
/* 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);
}
|