Top | ![]() |
![]() |
![]() |
![]() |
gchar * | tracker_sparql_escape_uri () |
gchar * | tracker_sparql_escape_uri_printf () |
gchar * | tracker_sparql_escape_uri_vprintf () |
gchar *
tracker_sparql_escape_uri (const gchar *uri
);
Calls tracker_sparql_escape_uri_printf()
.
a newly-allocated string holding the result. The returned string
should be freed with g_free()
when no longer needed.
[transfer full]
Since: 1.12
gchar * tracker_sparql_escape_uri_printf (const gchar *format
,...
);
Calls tracker_sparql_escape_uri_vprintf()
with the @... supplied.
format |
a standard g_strdup_printf()
|
|
... |
the parameters to insert into the format string |
a newly-allocated string holding the result.The returned string
should be freed with g_free()
when no longer needed.
[transfer full]
Since: 0.10
gchar * tracker_sparql_escape_uri_vprintf (const gchar *format
,va_list args
);
Similar to the standard C vsprintf()
function but safer, since it
calculates the maximum space required and allocates memory to hold
the result.
The result is escaped using g_uri_escape_string()
.
format |
a standard g_strdup_printf()
|
|
args |
the list of parameters to insert into the format string |
a newly-allocated string holding the result. The returned string
should be freed with g_free()
when no longer needed.
[transfer full]
Since: 0.10