[tracker/libtracker-sparql: 25/55] libtracker-sparql: Renamed uri escaping to be inline with other escaping API
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/libtracker-sparql: 25/55] libtracker-sparql: Renamed uri escaping to be inline with other escaping API
- Date: Fri, 6 Aug 2010 10:07:39 +0000 (UTC)
commit 340ec0d3f72af134b6921881a186693b61b7c0a7
Author: Martyn Russell <martyn lanedo com>
Date: Thu Jul 15 11:30:14 2010 +0100
libtracker-sparql: Renamed uri escaping to be inline with other escaping API
src/libtracker-sparql/tracker-uri.c | 14 +++++++-------
src/libtracker-sparql/tracker-utils.vala | 4 ++--
2 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/src/libtracker-sparql/tracker-uri.c b/src/libtracker-sparql/tracker-uri.c
index 107aa0d..bbd330f 100644
--- a/src/libtracker-sparql/tracker-uri.c
+++ b/src/libtracker-sparql/tracker-uri.c
@@ -124,7 +124,7 @@ find_conversion (const char *format,
}
/**
- * tracker_uri_vprintf_escaped:
+ * tracker_sparql_escape_uri_vprintf:
* @format: a standard printf() format string, but notice
* <link linkend="string-precision">string precision pitfalls</link>
* @args: the list of parameters to insert into the format string
@@ -141,8 +141,8 @@ find_conversion (const char *format,
* Since: 0.8
*/
gchar *
-tracker_sparql_uri_vprintf_escaped (const gchar *format,
- va_list args)
+tracker_sparql_escape_uri_vprintf (const gchar *format,
+ va_list args)
{
GString *format1;
GString *format2;
@@ -232,12 +232,12 @@ cleanup:
}
/**
- * tracker_uri_printf_escaped:
+ * tracker_sparql_escape_uri_printf:
* @format: a standard printf() format string, but notice
* <link linkend="string-precision">string precision pitfalls</link>
* @Varargs: the parameters to insert into the format string
*
- * Calls tracker_uri_vprintf_escaped() with the @Varargs supplied.
+ * Calls tracker_sparql_escpae_uri_vprintf() with the @Varargs supplied.
* Returns: a newly-allocated string holding the result which should
* be freed with g_free() when finished with.
@@ -245,13 +245,13 @@ cleanup:
* Since: 0.8
**/
gchar *
-tracker_sparql_uri_printf_escaped (const gchar *format, ...)
+tracker_sparql_escape_uri_printf (const gchar *format, ...)
{
gchar *result;
va_list args;
va_start (args, format);
- result = tracker_sparql_uri_vprintf_escaped (format, args);
+ result = tracker_sparql_escape_uri_vprintf (format, args);
va_end (args);
return result;
diff --git a/src/libtracker-sparql/tracker-utils.vala b/src/libtracker-sparql/tracker-utils.vala
index ef31682..9534fa2 100644
--- a/src/libtracker-sparql/tracker-utils.vala
+++ b/src/libtracker-sparql/tracker-utils.vala
@@ -18,8 +18,8 @@
*/
// Imported from tracker-uri.c
-public extern unowned string tracker_sparql_uri_vprintf_escaped (string format, va_list args);
-public extern unowned string tracker_sparql_uri_printf_escaped (string format, ...);
+public extern unowned string tracker_sparql_escape_uri_vprintf (string format, va_list args);
+public extern unowned string tracker_sparql_escape_uri_printf (string format, ...);
public unowned string tracker_sparql_escape_string (string literal) {
StringBuilder str = new StringBuilder ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]