core: add utility function to get a connection's shared wifi permission

If the connection is a shared wifi connection, return the appropriate
permission the user must obtain to use the connection.
This commit is contained in:
Dan Williams
2011-07-01 14:56:07 -05:00
parent 2420c37e24
commit 5cf1addbdf
2 changed files with 31 additions and 0 deletions

View File

@@ -52,6 +52,7 @@ void nm_utils_call_dispatcher (const char *action,
gboolean nm_match_spec_hwaddr (const GSList *specs, const char *hwaddr);
gboolean nm_match_spec_s390_subchannels (const GSList *specs, const char *subchannels);
const char *nm_utils_get_shared_wifi_permission (NMConnection *connection);
GHashTable *value_hash_create (void);
void value_hash_add (GHashTable *hash,