summaryrefslogtreecommitdiff
path: root/clients/cli/common.h
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2018-04-21 11:22:53 +0200
committerThomas Haller <thaller@redhat.com>2018-05-14 17:53:03 +0200
commit5e34a4b42473c176a183c28506059200e398b1e0 (patch)
treed3aed2000439ef5fc520d948074bed7deae6e9e4 /clients/cli/common.h
parentf0a26865458a42dd35975efd9bf6fdd2d9445c08 (diff)
downloadNetworkManager-5e34a4b42473c176a183c28506059200e398b1e0.tar.gz
cli: move find_active_connection() to common.c
Beside nmc_find_connection(), which is very similar. Also, drop unused argument @cons.
Diffstat (limited to 'clients/cli/common.h')
-rw-r--r--clients/cli/common.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/clients/cli/common.h b/clients/cli/common.h
index 6fce3f0f66..4b0d443ac8 100644
--- a/clients/cli/common.h
+++ b/clients/cli/common.h
@@ -35,6 +35,12 @@ NMConnection *nmc_find_connection (const GPtrArray *connections,
int *start,
gboolean complete);
+NMActiveConnection *nmc_find_active_connection (const GPtrArray *active_cons,
+ const char *filter_type,
+ const char *filter_val,
+ int *idx,
+ gboolean complete);
+
void nmc_secrets_requested (NMSecretAgentSimple *agent,
const char *request_id,
const char *title,