diff options
author | Benjamin Berg <bberg@redhat.com> | 2018-10-26 13:44:38 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2018-11-17 12:15:40 +0100 |
commit | 00236ef97726f6bc30f439fdc41314cdf18997aa (patch) | |
tree | a7562379817ce498eb9e710eda17cf38a5079d3e /libnm/nm-client.h | |
parent | eb883e34a5889812d35e5c2d7bc6051723001a3a (diff) | |
download | NetworkManager-00236ef97726f6bc30f439fdc41314cdf18997aa.tar.gz |
libnm: Add support to pass options to AddAndActivateConnection
This adds the new methods nm_client_add_and_activate_connection_options_*
and ports the existing methods to use the new AddAndActivateConnection2
call rather than AddAndActivateConnection, allowing further parameters
to be passed in.
Diffstat (limited to 'libnm/nm-client.h')
-rw-r--r-- | libnm/nm-client.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libnm/nm-client.h b/libnm/nm-client.h index 6259b1227b..dc5649f3cf 100644 --- a/libnm/nm-client.h +++ b/libnm/nm-client.h @@ -339,6 +339,18 @@ NMActiveConnection *nm_client_add_and_activate_connection_finish (NMClient *clie GAsyncResult *result, GError **error); +void nm_client_add_and_activate_connection_options_async (NMClient *client, + NMConnection *partial, + NMDevice *device, + const char *specific_object, + GVariant *options, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); +NMActiveConnection *nm_client_add_and_activate_connection_options_finish (NMClient *client, + GAsyncResult *result, + GError **error); + gboolean nm_client_deactivate_connection (NMClient *client, NMActiveConnection *active, GCancellable *cancellable, |