[vinagre] Documented vinagre_connection_split_string()
- From: Jonh Wendell <jwendell src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [vinagre] Documented vinagre_connection_split_string()
- Date: Fri, 31 Jul 2009 14:59:11 +0000 (UTC)
commit c5382d65aefc8dd36d2b774c13f48d9f162ffd88
Author: Jonh Wendell <jwendell gnome org>
Date: Fri Jul 31 11:48:55 2009 -0300
Documented vinagre_connection_split_string()
vinagre/vinagre-connection.c | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
---
diff --git a/vinagre/vinagre-connection.c b/vinagre/vinagre-connection.c
index 1462da7..14e12bf 100644
--- a/vinagre/vinagre-connection.c
+++ b/vinagre/vinagre-connection.c
@@ -497,6 +497,19 @@ vinagre_connection_get_icon (VinagreConnection *conn)
return pixbuf;
}
+/**
+ * vinagre_connection_split_string:
+ * @uri: The URI to be splitted.
+ * @known_protocol: The protocol, if it's known. NULL otherwise.
+ * @protocol: Will hold the protocol of this URI
+ * @host: Will hold the host of this URI
+ * @port: Will hold the port of this URI
+ * @error_msg: Will hold an error message in case of fail
+ *
+ * Splits a URI into its several parts.
+ *
+ * Returns: %TRUE if the URI is splitted successfuly. FALSE otherwise.
+ */
gboolean
vinagre_connection_split_string (const gchar *uri,
const gchar *known_protocol,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]