summary refs log tree commit diff
path: root/src/libnm-client-public/nm-client.h
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2022-02-14 19:23:28 +0100
committerMichael Biebl <biebl@debian.org>2022-02-14 19:23:28 +0100
commit2f94dba7385fd0e0ef19a06eb4a2fcf6c43d7946 (patch)
treee2222f5577115985dd52044d2991253403cdd952 /src/libnm-client-public/nm-client.h
parent88c227d90a6b7b388c5c85d72802a0ca8f05ed5c (diff)
New upstream version 1.35.91 upstream/1.35.91
Diffstat (limited to 'src/libnm-client-public/nm-client.h')
-rw-r--r--src/libnm-client-public/nm-client.h174
1 files changed, 87 insertions, 87 deletions
diff --git a/src/libnm-client-public/nm-client.h b/src/libnm-client-public/nm-client.h
index 02c8ee33..ac615b57 100644
--- a/src/libnm-client-public/nm-client.h
+++ b/src/libnm-client-public/nm-client.h
@@ -233,7 +233,7 @@ _NM_DEPRECATED_SYNC_METHOD
 gboolean
 nm_client_set_logging(NMClient *client, const char *level, const char *domains, GError **error);
 
-NMClientPermissionResult nm_client_get_permission_result(NMClient *         client,
+NMClientPermissionResult nm_client_get_permission_result(NMClient          *client,
                                                          NMClientPermission permission);
 
 NM_AVAILABLE_IN_1_24
@@ -246,22 +246,22 @@ NM_DEPRECATED_IN_1_22
 NMConnectivityState
 nm_client_check_connectivity(NMClient *client, GCancellable *cancellable, GError **error);
 
-void nm_client_check_connectivity_async(NMClient *          client,
-                                        GCancellable *      cancellable,
+void nm_client_check_connectivity_async(NMClient           *client,
+                                        GCancellable       *cancellable,
                                         GAsyncReadyCallback callback,
                                         gpointer            user_data);
 NMConnectivityState
 nm_client_check_connectivity_finish(NMClient *client, GAsyncResult *result, GError **error);
 
 _NM_DEPRECATED_SYNC_METHOD
-gboolean nm_client_save_hostname(NMClient *    client,
-                                 const char *  hostname,
+gboolean nm_client_save_hostname(NMClient     *client,
+                                 const char   *hostname,
                                  GCancellable *cancellable,
-                                 GError **     error);
+                                 GError      **error);
 
-void     nm_client_save_hostname_async(NMClient *          client,
-                                       const char *        hostname,
-                                       GCancellable *      cancellable,
+void     nm_client_save_hostname_async(NMClient           *client,
+                                       const char         *hostname,
+                                       GCancellable       *cancellable,
                                        GAsyncReadyCallback callback,
                                        gpointer            user_data);
 gboolean nm_client_save_hostname_finish(NMClient *client, GAsyncResult *result, GError **error);
@@ -271,8 +271,8 @@ gboolean nm_client_save_hostname_finish(NMClient *client, GAsyncResult *result,
 const GPtrArray *nm_client_get_devices(NMClient *client);
 NM_AVAILABLE_IN_1_2
 const GPtrArray *nm_client_get_all_devices(NMClient *client);
-NMDevice *       nm_client_get_device_by_path(NMClient *client, const char *object_path);
-NMDevice *       nm_client_get_device_by_iface(NMClient *client, const char *iface);
+NMDevice        *nm_client_get_device_by_path(NMClient *client, const char *object_path);
+NMDevice        *nm_client_get_device_by_iface(NMClient *client, const char *iface);
 
 /* Active Connections */
 
@@ -281,51 +281,51 @@ const GPtrArray *nm_client_get_active_connections(NMClient *client);
 NMActiveConnection *nm_client_get_primary_connection(NMClient *client);
 NMActiveConnection *nm_client_get_activating_connection(NMClient *client);
 
-void nm_client_activate_connection_async(NMClient *          client,
-                                         NMConnection *      connection,
-                                         NMDevice *          device,
-                                         const char *        specific_object,
-                                         GCancellable *      cancellable,
+void nm_client_activate_connection_async(NMClient           *client,
+                                         NMConnection       *connection,
+                                         NMDevice           *device,
+                                         const char         *specific_object,
+                                         GCancellable       *cancellable,
                                          GAsyncReadyCallback callback,
                                          gpointer            user_data);
 NMActiveConnection *
 nm_client_activate_connection_finish(NMClient *client, GAsyncResult *result, GError **error);
 
-void                nm_client_add_and_activate_connection_async(NMClient *          client,
-                                                                NMConnection *      partial,
-                                                                NMDevice *          device,
-                                                                const char *        specific_object,
-                                                                GCancellable *      cancellable,
+void                nm_client_add_and_activate_connection_async(NMClient           *client,
+                                                                NMConnection       *partial,
+                                                                NMDevice           *device,
+                                                                const char         *specific_object,
+                                                                GCancellable       *cancellable,
                                                                 GAsyncReadyCallback callback,
                                                                 gpointer            user_data);
-NMActiveConnection *nm_client_add_and_activate_connection_finish(NMClient *    client,
+NMActiveConnection *nm_client_add_and_activate_connection_finish(NMClient     *client,
                                                                  GAsyncResult *result,
-                                                                 GError **     error);
+                                                                 GError      **error);
 
 NM_AVAILABLE_IN_1_16
-void nm_client_add_and_activate_connection2(NMClient *          client,
-                                            NMConnection *      partial,
-                                            NMDevice *          device,
-                                            const char *        specific_object,
-                                            GVariant *          options,
-                                            GCancellable *      cancellable,
+void nm_client_add_and_activate_connection2(NMClient           *client,
+                                            NMConnection       *partial,
+                                            NMDevice           *device,
+                                            const char         *specific_object,
+                                            GVariant           *options,
+                                            GCancellable       *cancellable,
                                             GAsyncReadyCallback callback,
                                             gpointer            user_data);
 NM_AVAILABLE_IN_1_16
-NMActiveConnection *nm_client_add_and_activate_connection2_finish(NMClient *    client,
+NMActiveConnection *nm_client_add_and_activate_connection2_finish(NMClient     *client,
                                                                   GAsyncResult *result,
-                                                                  GVariant **   out_result,
-                                                                  GError **     error);
+                                                                  GVariant    **out_result,
+                                                                  GError      **error);
 
 _NM_DEPRECATED_SYNC_METHOD
-gboolean nm_client_deactivate_connection(NMClient *          client,
+gboolean nm_client_deactivate_connection(NMClient           *client,
                                          NMActiveConnection *active,
-                                         GCancellable *      cancellable,
-                                         GError **           error);
+                                         GCancellable       *cancellable,
+                                         GError            **error);
 
-void nm_client_deactivate_connection_async(NMClient *          client,
+void nm_client_deactivate_connection_async(NMClient           *client,
                                            NMActiveConnection *active,
-                                           GCancellable *      cancellable,
+                                           GCancellable       *cancellable,
                                            GAsyncReadyCallback callback,
                                            gpointer            user_data);
 gboolean
@@ -339,53 +339,53 @@ NMRemoteConnection *nm_client_get_connection_by_id(NMClient *client, const char
 NMRemoteConnection *nm_client_get_connection_by_path(NMClient *client, const char *path);
 NMRemoteConnection *nm_client_get_connection_by_uuid(NMClient *client, const char *uuid);
 
-void nm_client_add_connection_async(NMClient *          client,
-                                    NMConnection *      connection,
+void nm_client_add_connection_async(NMClient           *client,
+                                    NMConnection       *connection,
                                     gboolean            save_to_disk,
-                                    GCancellable *      cancellable,
+                                    GCancellable       *cancellable,
                                     GAsyncReadyCallback callback,
                                     gpointer            user_data);
 NMRemoteConnection *
 nm_client_add_connection_finish(NMClient *client, GAsyncResult *result, GError **error);
 
 NM_AVAILABLE_IN_1_20
-void nm_client_add_connection2(NMClient *                    client,
-                               GVariant *                    settings,
+void nm_client_add_connection2(NMClient                     *client,
+                               GVariant                     *settings,
                                NMSettingsAddConnection2Flags flags,
-                               GVariant *                    args,
+                               GVariant                     *args,
                                gboolean                      ignore_out_result,
-                               GCancellable *                cancellable,
+                               GCancellable                 *cancellable,
                                GAsyncReadyCallback           callback,
                                gpointer                      user_data);
 
 NM_AVAILABLE_IN_1_20
-NMRemoteConnection *nm_client_add_connection2_finish(NMClient *    client,
+NMRemoteConnection *nm_client_add_connection2_finish(NMClient     *client,
                                                      GAsyncResult *result,
-                                                     GVariant **   out_result,
-                                                     GError **     error);
+                                                     GVariant    **out_result,
+                                                     GError      **error);
 
 _NM_DEPRECATED_SYNC_METHOD
-gboolean nm_client_load_connections(NMClient *    client,
-                                    char **       filenames,
-                                    char ***      failures,
+gboolean nm_client_load_connections(NMClient     *client,
+                                    char        **filenames,
+                                    char       ***failures,
                                     GCancellable *cancellable,
-                                    GError **     error);
+                                    GError      **error);
 
-void     nm_client_load_connections_async(NMClient *          client,
-                                          char **             filenames,
-                                          GCancellable *      cancellable,
+void     nm_client_load_connections_async(NMClient           *client,
+                                          char              **filenames,
+                                          GCancellable       *cancellable,
                                           GAsyncReadyCallback callback,
                                           gpointer            user_data);
-gboolean nm_client_load_connections_finish(NMClient *    client,
-                                           char ***      failures,
+gboolean nm_client_load_connections_finish(NMClient     *client,
+                                           char       ***failures,
                                            GAsyncResult *result,
-                                           GError **     error);
+                                           GError      **error);
 
 _NM_DEPRECATED_SYNC_METHOD
 gboolean nm_client_reload_connections(NMClient *client, GCancellable *cancellable, GError **error);
 
-void nm_client_reload_connections_async(NMClient *          client,
-                                        GCancellable *      cancellable,
+void nm_client_reload_connections_async(NMClient           *client,
+                                        GCancellable       *cancellable,
                                         GAsyncReadyCallback callback,
                                         gpointer            user_data);
 gboolean
@@ -402,11 +402,11 @@ NM_AVAILABLE_IN_1_12
 const GPtrArray *nm_client_get_checkpoints(NMClient *client);
 
 NM_AVAILABLE_IN_1_12
-void nm_client_checkpoint_create(NMClient *              client,
-                                 const GPtrArray *       devices,
+void nm_client_checkpoint_create(NMClient               *client,
+                                 const GPtrArray        *devices,
                                  guint32                 rollback_timeout,
                                  NMCheckpointCreateFlags flags,
-                                 GCancellable *          cancellable,
+                                 GCancellable           *cancellable,
                                  GAsyncReadyCallback     callback,
                                  gpointer                user_data);
 NM_AVAILABLE_IN_1_12
@@ -414,9 +414,9 @@ NMCheckpoint *
 nm_client_checkpoint_create_finish(NMClient *client, GAsyncResult *result, GError **error);
 
 NM_AVAILABLE_IN_1_12
-void nm_client_checkpoint_destroy(NMClient *          client,
-                                  const char *        checkpoint_path,
-                                  GCancellable *      cancellable,
+void nm_client_checkpoint_destroy(NMClient           *client,
+                                  const char         *checkpoint_path,
+                                  GCancellable       *cancellable,
                                   GAsyncReadyCallback callback,
                                   gpointer            user_data);
 NM_AVAILABLE_IN_1_12
@@ -424,9 +424,9 @@ gboolean
 nm_client_checkpoint_destroy_finish(NMClient *client, GAsyncResult *result, GError **error);
 
 NM_AVAILABLE_IN_1_12
-void nm_client_checkpoint_rollback(NMClient *          client,
-                                   const char *        checkpoint_path,
-                                   GCancellable *      cancellable,
+void nm_client_checkpoint_rollback(NMClient           *client,
+                                   const char         *checkpoint_path,
+                                   GCancellable       *cancellable,
                                    GAsyncReadyCallback callback,
                                    gpointer            user_data);
 NM_AVAILABLE_IN_1_12
@@ -434,22 +434,22 @@ GHashTable *
 nm_client_checkpoint_rollback_finish(NMClient *client, GAsyncResult *result, GError **error);
 
 NM_AVAILABLE_IN_1_12
-void nm_client_checkpoint_adjust_rollback_timeout(NMClient *          client,
-                                                  const char *        checkpoint_path,
+void nm_client_checkpoint_adjust_rollback_timeout(NMClient           *client,
+                                                  const char         *checkpoint_path,
                                                   guint32             add_timeout,
-                                                  GCancellable *      cancellable,
+                                                  GCancellable       *cancellable,
                                                   GAsyncReadyCallback callback,
                                                   gpointer            user_data);
 
 NM_AVAILABLE_IN_1_12
-gboolean nm_client_checkpoint_adjust_rollback_timeout_finish(NMClient *    client,
+gboolean nm_client_checkpoint_adjust_rollback_timeout_finish(NMClient     *client,
                                                              GAsyncResult *result,
-                                                             GError **     error);
+                                                             GError      **error);
 
 NM_AVAILABLE_IN_1_22
-void nm_client_reload(NMClient *           client,
+void nm_client_reload(NMClient            *client,
                       NMManagerReloadFlags flags,
-                      GCancellable *       cancellable,
+                      GCancellable        *cancellable,
                       GAsyncReadyCallback  callback,
                       gpointer             user_data);
 NM_AVAILABLE_IN_1_22
@@ -458,14 +458,14 @@ gboolean nm_client_reload_finish(NMClient *client, GAsyncResult *result, GError
 /*****************************************************************************/
 
 NM_AVAILABLE_IN_1_24
-void nm_client_dbus_call(NMClient *          client,
-                         const char *        object_path,
-                         const char *        interface_name,
-                         const char *        method_name,
-                         GVariant *          parameters,
+void nm_client_dbus_call(NMClient           *client,
+                         const char         *object_path,
+                         const char         *interface_name,
+                         const char         *method_name,
+                         GVariant           *parameters,
                          const GVariantType *reply_type,
                          int                 timeout_msec,
-                         GCancellable *      cancellable,
+                         GCancellable       *cancellable,
                          GAsyncReadyCallback callback,
                          gpointer            user_data);
 
@@ -473,13 +473,13 @@ NM_AVAILABLE_IN_1_24
 GVariant *nm_client_dbus_call_finish(NMClient *client, GAsyncResult *result, GError **error);
 
 NM_AVAILABLE_IN_1_24
-void nm_client_dbus_set_property(NMClient *          client,
-                                 const char *        object_path,
-                                 const char *        interface_name,
-                                 const char *        property_name,
-                                 GVariant *          value,
+void nm_client_dbus_set_property(NMClient           *client,
+                                 const char         *object_path,
+                                 const char         *interface_name,
+                                 const char         *property_name,
+                                 GVariant           *value,
                                  int                 timeout_msec,
-                                 GCancellable *      cancellable,
+                                 GCancellable       *cancellable,
                                  GAsyncReadyCallback callback,
                                  gpointer            user_data);