[tracker/journal: 9/13] libtracker-data: Make some ontology functions private



commit 2bde24d1b208250596aa58e2e6e64cfbccd31b5c
Author: Jürg Billeter <j bitron ch>
Date:   Tue Oct 12 10:36:03 2010 +0200

    libtracker-data: Make some ontology functions private

 src/libtracker-data/tracker-data-manager.c |   16 +++++++-------
 src/libtracker-data/tracker-data-manager.h |   30 ----------------------------
 2 files changed, 8 insertions(+), 38 deletions(-)
---
diff --git a/src/libtracker-data/tracker-data-manager.c b/src/libtracker-data/tracker-data-manager.c
index 7c6d39c..6395ce8 100644
--- a/src/libtracker-data/tracker-data-manager.c
+++ b/src/libtracker-data/tracker-data-manager.c
@@ -401,7 +401,7 @@ fix_indexed (TrackerProperty *property)
 	}
 }
 
-void
+static void
 tracker_data_ontology_load_statement (const gchar *ontology_path,
                                       gint         subject_id,
                                       const gchar *subject,
@@ -962,7 +962,7 @@ check_for_deleted_domain_index (TrackerClass *class)
 	g_slist_free (hfound);
 }
 
-void
+static void
 tracker_data_ontology_process_changes_pre_db (GPtrArray *seen_classes,
                                                GPtrArray *seen_properties)
 {
@@ -976,7 +976,7 @@ tracker_data_ontology_process_changes_pre_db (GPtrArray *seen_classes,
 	}
 }
 
-void
+static void
 tracker_data_ontology_process_changes_post_db (GPtrArray *seen_classes,
                                                GPtrArray *seen_properties)
 {
@@ -1098,14 +1098,14 @@ tracker_data_ontology_process_changes_post_db (GPtrArray *seen_classes,
 	}
 }
 
-void
+static void
 tracker_data_ontology_process_changes_post_import (GPtrArray *seen_classes,
                                                    GPtrArray *seen_properties)
 {
 	return;
 }
 
-void
+static void
 tracker_data_ontology_free_seen (GPtrArray *seen)
 {
 	if (seen) {
@@ -1255,7 +1255,7 @@ load_ontology_ids_from_journal (GHashTable **uri_id_map_out)
 	*uri_id_map_out = uri_id_map;
 }
 
-void
+static void
 tracker_data_ontology_process_statement (const gchar *graph,
                                          const gchar *subject,
                                          const gchar *predicate,
@@ -2554,7 +2554,7 @@ create_decomposed_transient_metadata_tables (TrackerDBInterface *iface)
 	}
 }
 
-void
+static void
 tracker_data_ontology_import_finished (void)
 {
 	TrackerClass **classes;
@@ -2576,7 +2576,7 @@ tracker_data_ontology_import_finished (void)
 	}
 }
 
-void
+static void
 tracker_data_ontology_import_into_db (gboolean in_update)
 {
 	TrackerDBInterface *iface;
diff --git a/src/libtracker-data/tracker-data-manager.h b/src/libtracker-data/tracker-data-manager.h
index 4febad3..de2aa29 100644
--- a/src/libtracker-data/tracker-data-manager.h
+++ b/src/libtracker-data/tracker-data-manager.h
@@ -49,36 +49,6 @@ gboolean tracker_data_manager_init                   (TrackerDBManagerFlags  fla
                                                       const gchar           *busy_status);
 void     tracker_data_manager_shutdown               (void);
 
-void     tracker_data_ontology_load_statement        (const gchar           *ontology_file,
-                                                      gint                   subject_id,
-                                                      const gchar           *subject,
-                                                      const gchar           *predicate,
-                                                      const gchar           *object,
-                                                      gint                  *max_id,
-                                                      gboolean               in_update,
-                                                      GHashTable            *classes,
-                                                      GHashTable            *properties,
-                                                      GPtrArray             *seen_classes,
-                                                      GPtrArray             *seen_properties);
-void     tracker_data_ontology_import_into_db        (gboolean               is_new);
-void     tracker_data_ontology_process_statement     (const gchar           *graph,
-                                                      const gchar           *subject,
-                                                      const gchar           *predicate,
-                                                      const gchar           *object,
-                                                      gboolean               is_uri,
-                                                      gboolean               in_update,
-                                                      gboolean               ignore_nao_last_modified);
-void    tracker_data_ontology_import_finished        (void);
-void    tracker_data_ontology_process_changes_pre_db (GPtrArray             *seen_classes,
-                                                      GPtrArray             *seen_properties);
-void    tracker_data_ontology_process_changes_post_db
-                                                     (GPtrArray             *seen_classes,
-                                                      GPtrArray             *seen_properties);
-void    tracker_data_ontology_process_changes_post_import
-                                                     (GPtrArray             *seen_classes,
-                                                      GPtrArray             *seen_properties);
-void    tracker_data_ontology_free_seen              (GPtrArray             *seen);
-
 G_END_DECLS
 
 #endif /* __LIBTRACKER_DATA_MANAGER_H__ */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]