core: specify an activation reason for active connections

Specify a reason when creating active connections. The reason will be
used in the next commit to tell whether slaves must be reconnected or
not if a master has autoconnect-slaves=yes.
This commit is contained in:
Beniamino Galvani
2018-03-28 17:18:04 +02:00
parent d607f28899
commit 43a0f47ea2
11 changed files with 78 additions and 7 deletions

View File

@@ -41,6 +41,7 @@ NMActRequest *nm_act_request_new (NMSettingsConnection *settings_connec
const char *specific_object,
NMAuthSubject *subject,
NMActivationType activation_type,
NMActivationReason activation_reason,
NMDevice *device);
NMSettingsConnection *nm_act_request_get_settings_connection (NMActRequest *req);