summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2015-08-31 15:59:38 +0200
committerThomas Haller <thaller@redhat.com>2015-09-02 11:07:49 +0200
commit1cc9aef37aeafe99552625dc86f04ea1bc62cad1 (patch)
tree1776f7ce67524dad7624c0ac397ceaeae2c116b7
parent9e7d555dafa7c50ec7ea89fb2918cc83d4788331 (diff)
downloadNetworkManager-lr/applied-connection-bgo724041-3.tar.gz
core/trivial: add code comment to nm_utils_get_shared_wifi_permission()lr/applied-connection-bgo724041-3
-rw-r--r--src/NetworkManagerUtils.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/NetworkManagerUtils.c b/src/NetworkManagerUtils.c
index 2e732c52a5..d78313df50 100644
--- a/src/NetworkManagerUtils.c
+++ b/src/NetworkManagerUtils.c
@@ -1540,6 +1540,12 @@ nm_match_spec_join (GSList *specs)
return g_string_free (str, FALSE);
}
+/**
+ * nm_utils_get_shared_wifi_permission:
+ * @connection: the NMConnection to lookup the permission.
+ *
+ * Returns: a static string of the wifi-permission (if any) or %NULL.
+ */
const char *
nm_utils_get_shared_wifi_permission (NMConnection *connection)
{