[tracker] libtracker-data: Make some ontology functions private



commit 24fd36348d7de6833943ee6bb1bab8e849b22649
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 f7c3b86..7c292fe 100644
--- a/src/libtracker-data/tracker-data-manager.c
+++ b/src/libtracker-data/tracker-data-manager.c
@@ -405,7 +405,7 @@ fix_indexed (TrackerProperty *property)
 	}
 }
 
-void
+static void
 tracker_data_ontology_load_statement (const gchar *ontology_path,
                                       gint         subject_id,
                                       const gchar *subject,
@@ -966,7 +966,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)
 {
@@ -980,7 +980,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)
 {
@@ -1102,14 +1102,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) {
@@ -1259,7 +1259,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,
@@ -2562,7 +2562,7 @@ create_decomposed_transient_metadata_tables (TrackerDBInterface *iface)
 	}
 }
 
-void
+static void
 tracker_data_ontology_import_finished (void)
 {
 	TrackerClass **classes;
@@ -2584,7 +2584,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]