projects
/
platform
/
upstream
/
libnice.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dce6020
)
agent: Expand documentation for nice_interfaces_get_ip_for_interface()
author
Philip Withnall
<philip.withnall@collabora.co.uk>
Fri, 18 Jul 2014 07:44:41 +0000
(08:44 +0100)
committer
Olivier CrĂȘte
<olivier.crete@collabora.com>
Fri, 8 Aug 2014 19:52:45 +0000
(15:52 -0400)
agent/interfaces.h
patch
|
blob
|
history
diff --git
a/agent/interfaces.h
b/agent/interfaces.h
index
e5fea18
..
cb76626
100644
(file)
--- a/
agent/interfaces.h
+++ b/
agent/interfaces.h
@@
-45,9
+45,11
@@
G_BEGIN_DECLS
* nice_interfaces_get_ip_for_interface:
* @interface_name: name of local interface
*
- * Retreives the IPv4 address of an interface by its name
+ * Retrieves the IP address of an interface by its name. If this fails, %NULL
+ * is returned.
*
- * Returns: a newly-allocated string with the IP address
+ * Returns: (nullable) (transfer full): a newly-allocated string with the IP
+ * address
*/
gchar * nice_interfaces_get_ip_for_interface (gchar *interface_name);