summaryrefslogtreecommitdiff
path: root/libnm-glib
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2016-10-02 18:22:50 +0200
committerThomas Haller <thaller@redhat.com>2016-10-03 12:01:15 +0200
commita83eb773cea118fb4b2b6c3bce03316f73b29b61 (patch)
tree96de75e5e61facdbd8a13b71e0afbd4e2cf1581f /libnm-glib
parent05e66d52025d7cbe8bcfafd93c31aa5a5b852566 (diff)
all: modify line separator comments to be 80 chars wide
sed 's#^/\*\{5\}\*\+/$#/*****************************************************************************/#' $(git grep -l '\*\{5\}' | grep '\.[hc]$') -i
Diffstat (limited to 'libnm-glib')
-rw-r--r--libnm-glib/nm-access-point.c2
-rw-r--r--libnm-glib/nm-client.c8
-rw-r--r--libnm-glib/nm-device-adsl.c2
-rw-r--r--libnm-glib/nm-device-bond.c2
-rw-r--r--libnm-glib/nm-device-bridge.c2
-rw-r--r--libnm-glib/nm-device-bt.c2
-rw-r--r--libnm-glib/nm-device-ethernet.c2
-rw-r--r--libnm-glib/nm-device-generic.c4
-rw-r--r--libnm-glib/nm-device-infiniband.c2
-rw-r--r--libnm-glib/nm-device-modem.c2
-rw-r--r--libnm-glib/nm-device-olpc-mesh.c2
-rw-r--r--libnm-glib/nm-device-team.c2
-rw-r--r--libnm-glib/nm-device-vlan.c2
-rw-r--r--libnm-glib/nm-device-wifi.c2
-rw-r--r--libnm-glib/nm-device-wimax.c2
-rw-r--r--libnm-glib/nm-remote-connection.c10
-rw-r--r--libnm-glib/nm-remote-settings.c8
-rw-r--r--libnm-glib/nm-secret-agent.c10
-rw-r--r--libnm-glib/nm-types.c12
-rw-r--r--libnm-glib/nm-vpn-plugin-ui-interface.h8
-rw-r--r--libnm-glib/nm-vpn-plugin.c8
-rw-r--r--libnm-glib/nm-wimax-nsp.c2
-rw-r--r--libnm-glib/tests/test-nm-client.c14
-rw-r--r--libnm-glib/tests/test-remote-settings-client.c12
24 files changed, 61 insertions, 61 deletions
diff --git a/libnm-glib/nm-access-point.c b/libnm-glib/nm-access-point.c
index 5f34cb292c..0aef3ee400 100644
--- a/libnm-glib/nm-access-point.c
+++ b/libnm-glib/nm-access-point.c
@@ -432,7 +432,7 @@ nm_access_point_filter_connections (NMAccessPoint *ap, const GSList *connections
return g_slist_reverse (filtered);
}
-/************************************************************/
+/*****************************************************************************/
static void
nm_access_point_init (NMAccessPoint *ap)
diff --git a/libnm-glib/nm-client.c b/libnm-glib/nm-client.c
index f0ce64bc31..796019e7a6 100644
--- a/libnm-glib/nm-client.c
+++ b/libnm-glib/nm-client.c
@@ -127,7 +127,7 @@ static void proxy_name_owner_changed (DBusGProxy *proxy,
const char *new_owner,
gpointer user_data);
-/**********************************************************************/
+/*****************************************************************************/
/**
* nm_client_error_quark:
@@ -148,7 +148,7 @@ nm_client_error_quark (void)
return quark;
}
-/**********************************************************************/
+/*****************************************************************************/
static void
nm_client_init (NMClient *client)
@@ -1315,7 +1315,7 @@ nm_client_get_activating_connection (NMClient *client)
return NM_CLIENT_GET_PRIVATE (client)->activating_connection;
}
-/****************************************************************/
+/*****************************************************************************/
static void
free_devices (NMClient *client, gboolean in_dispose)
@@ -1658,7 +1658,7 @@ nm_client_check_connectivity_finish (NMClient *client,
return ccd->connectivity;
}
-/****************************************************************/
+/*****************************************************************************/
/**
* nm_client_new:
diff --git a/libnm-glib/nm-device-adsl.c b/libnm-glib/nm-device-adsl.c
index b8d341f452..30f6c4ec16 100644
--- a/libnm-glib/nm-device-adsl.c
+++ b/libnm-glib/nm-device-adsl.c
@@ -140,7 +140,7 @@ get_setting_type (NMDevice *device)
return NM_TYPE_SETTING_ADSL;
}
-/******************************************************************/
+/*****************************************************************************/
static void
nm_device_adsl_init (NMDeviceAdsl *device)
diff --git a/libnm-glib/nm-device-bond.c b/libnm-glib/nm-device-bond.c
index 2ba34162bd..bd5bc216a7 100644
--- a/libnm-glib/nm-device-bond.c
+++ b/libnm-glib/nm-device-bond.c
@@ -200,7 +200,7 @@ get_hw_address (NMDevice *device)
return nm_device_bond_get_hw_address (NM_DEVICE_BOND (device));
}
-/***********************************************************/
+/*****************************************************************************/
static void
nm_device_bond_init (NMDeviceBond *device)
diff --git a/libnm-glib/nm-device-bridge.c b/libnm-glib/nm-device-bridge.c
index d95a21194d..20d65cfad3 100644
--- a/libnm-glib/nm-device-bridge.c
+++ b/libnm-glib/nm-device-bridge.c
@@ -208,7 +208,7 @@ get_hw_address (NMDevice *device)
return nm_device_bridge_get_hw_address (NM_DEVICE_BRIDGE (device));
}
-/***********************************************************/
+/*****************************************************************************/
static void
nm_device_bridge_init (NMDeviceBridge *device)
diff --git a/libnm-glib/nm-device-bt.c b/libnm-glib/nm-device-bt.c
index 5f6a12f5fe..5cf55c576e 100644
--- a/libnm-glib/nm-device-bt.c
+++ b/libnm-glib/nm-device-bt.c
@@ -232,7 +232,7 @@ get_hw_address (NMDevice *device)
return nm_device_bt_get_hw_address (NM_DEVICE_BT (device));
}
-/************************************************************/
+/*****************************************************************************/
static void
nm_device_bt_init (NMDeviceBt *device)
diff --git a/libnm-glib/nm-device-ethernet.c b/libnm-glib/nm-device-ethernet.c
index 46056a2c7b..2817a32053 100644
--- a/libnm-glib/nm-device-ethernet.c
+++ b/libnm-glib/nm-device-ethernet.c
@@ -235,7 +235,7 @@ get_hw_address (NMDevice *device)
return nm_device_ethernet_get_hw_address (NM_DEVICE_ETHERNET (device));
}
-/***********************************************************/
+/*****************************************************************************/
static void
nm_device_ethernet_init (NMDeviceEthernet *device)
diff --git a/libnm-glib/nm-device-generic.c b/libnm-glib/nm-device-generic.c
index dd9c24b5c9..206174fb16 100644
--- a/libnm-glib/nm-device-generic.c
+++ b/libnm-glib/nm-device-generic.c
@@ -112,7 +112,7 @@ nm_device_generic_get_hw_address (NMDeviceGeneric *device)
return NM_DEVICE_GENERIC_GET_PRIVATE (device)->hw_address;
}
-/***********************************************************/
+/*****************************************************************************/
static const char *
get_type_description (NMDevice *device)
@@ -161,7 +161,7 @@ get_setting_type (NMDevice *device)
return NM_TYPE_SETTING_GENERIC;
}
-/***********************************************************/
+/*****************************************************************************/
static void
nm_device_generic_init (NMDeviceGeneric *device)
diff --git a/libnm-glib/nm-device-infiniband.c b/libnm-glib/nm-device-infiniband.c
index c256c4a1ca..5c4a8c8b9f 100644
--- a/libnm-glib/nm-device-infiniband.c
+++ b/libnm-glib/nm-device-infiniband.c
@@ -187,7 +187,7 @@ get_hw_address (NMDevice *device)
return nm_device_infiniband_get_hw_address (NM_DEVICE_INFINIBAND (device));
}
-/***********************************************************/
+/*****************************************************************************/
static void
nm_device_infiniband_init (NMDeviceInfiniband *device)
diff --git a/libnm-glib/nm-device-modem.c b/libnm-glib/nm-device-modem.c
index 96ce6ca098..d4c156178e 100644
--- a/libnm-glib/nm-device-modem.c
+++ b/libnm-glib/nm-device-modem.c
@@ -176,7 +176,7 @@ get_setting_type (NMDevice *device)
return G_TYPE_INVALID;
}
-/*******************************************************************/
+/*****************************************************************************/
static void
nm_device_modem_init (NMDeviceModem *device)
diff --git a/libnm-glib/nm-device-olpc-mesh.c b/libnm-glib/nm-device-olpc-mesh.c
index 846b4c51be..df4fb4655e 100644
--- a/libnm-glib/nm-device-olpc-mesh.c
+++ b/libnm-glib/nm-device-olpc-mesh.c
@@ -185,7 +185,7 @@ get_setting_type (NMDevice *device)
return NM_TYPE_SETTING_OLPC_MESH;
}
-/**************************************************************/
+/*****************************************************************************/
static void
nm_device_olpc_mesh_init (NMDeviceOlpcMesh *device)
diff --git a/libnm-glib/nm-device-team.c b/libnm-glib/nm-device-team.c
index 7b50e1852a..2a12a73289 100644
--- a/libnm-glib/nm-device-team.c
+++ b/libnm-glib/nm-device-team.c
@@ -208,7 +208,7 @@ get_setting_type (NMDevice *device)
return NM_TYPE_SETTING_TEAM;
}
-/***********************************************************/
+/*****************************************************************************/
static void
nm_device_team_init (NMDeviceTeam *device)
diff --git a/libnm-glib/nm-device-vlan.c b/libnm-glib/nm-device-vlan.c
index 28d8ce5761..3f40ec567d 100644
--- a/libnm-glib/nm-device-vlan.c
+++ b/libnm-glib/nm-device-vlan.c
@@ -233,7 +233,7 @@ get_hw_address (NMDevice *device)
return nm_device_vlan_get_hw_address (NM_DEVICE_VLAN (device));
}
-/***********************************************************/
+/*****************************************************************************/
static void
nm_device_vlan_init (NMDeviceVlan *device)
diff --git a/libnm-glib/nm-device-wifi.c b/libnm-glib/nm-device-wifi.c
index 2c12628a9d..08e5b90c10 100644
--- a/libnm-glib/nm-device-wifi.c
+++ b/libnm-glib/nm-device-wifi.c
@@ -532,7 +532,7 @@ get_hw_address (NMDevice *device)
return nm_device_wifi_get_hw_address (NM_DEVICE_WIFI (device));
}
-/**************************************************************/
+/*****************************************************************************/
static void
nm_device_wifi_init (NMDeviceWifi *device)
diff --git a/libnm-glib/nm-device-wimax.c b/libnm-glib/nm-device-wimax.c
index 9bd733e7fd..cda3601670 100644
--- a/libnm-glib/nm-device-wimax.c
+++ b/libnm-glib/nm-device-wimax.c
@@ -428,7 +428,7 @@ get_hw_address (NMDevice *device)
return nm_device_wimax_get_hw_address (NM_DEVICE_WIMAX (device));
}
-/**************************************************************/
+/*****************************************************************************/
static void
nm_device_wimax_init (NMDeviceWimax *device)
diff --git a/libnm-glib/nm-remote-connection.c b/libnm-glib/nm-remote-connection.c
index a4dc638adc..5c07f0ecec 100644
--- a/libnm-glib/nm-remote-connection.c
+++ b/libnm-glib/nm-remote-connection.c
@@ -108,7 +108,7 @@ nm_remote_connection_error_quark (void)
return quark;
}
-/****************************************************************/
+/*****************************************************************************/
static void
_nm_remote_connection_ensure_inited (NMRemoteConnection *self)
@@ -131,7 +131,7 @@ _nm_remote_connection_ensure_inited (NMRemoteConnection *self)
}
}
-/****************************************************************/
+/*****************************************************************************/
static void
remote_call_dbus_cb (DBusGProxy *proxy, DBusGProxyCall *proxy_call, gpointer user_data)
@@ -213,7 +213,7 @@ proxy_destroy_cb (DBusGProxy* proxy, gpointer user_data) {
proxy_set_destroyed (user_data);
}
-/****************************************************************/
+/*****************************************************************************/
static void
result_cb (RemoteCall *call, DBusGProxyCall *proxy_call, GError *error)
@@ -445,7 +445,7 @@ nm_remote_connection_get_unsaved (NMRemoteConnection *connection)
return NM_REMOTE_CONNECTION_GET_PRIVATE (connection)->unsaved;
}
-/****************************************************************/
+/*****************************************************************************/
static void
updated_get_settings_cb (DBusGProxy *proxy,
@@ -531,7 +531,7 @@ properties_changed_cb (DBusGProxy *proxy,
}
}
-/****************************************************************/
+/*****************************************************************************/
/**
* nm_remote_connection_new:
diff --git a/libnm-glib/nm-remote-settings.c b/libnm-glib/nm-remote-settings.c
index b64743a99c..6e90db1958 100644
--- a/libnm-glib/nm-remote-settings.c
+++ b/libnm-glib/nm-remote-settings.c
@@ -170,7 +170,7 @@ enum {
};
static guint signals[LAST_SIGNAL] = { 0 };
-/**********************************************************************/
+/*****************************************************************************/
/**
* nm_remote_settings_error_quark:
@@ -189,7 +189,7 @@ nm_remote_settings_error_quark (void)
return quark;
}
-/**********************************************************************/
+/*****************************************************************************/
static void
_nm_remote_settings_ensure_inited (NMRemoteSettings *self)
@@ -212,7 +212,7 @@ _nm_remote_settings_ensure_inited (NMRemoteSettings *self)
}
}
-/**********************************************************************/
+/*****************************************************************************/
typedef struct {
NMRemoteSettings *self;
@@ -1057,7 +1057,7 @@ name_owner_changed (DBusGProxy *proxy,
}
}
-/****************************************************************/
+/*****************************************************************************/
/**
* nm_remote_settings_new:
diff --git a/libnm-glib/nm-secret-agent.c b/libnm-glib/nm-secret-agent.c
index 03290469ad..aeb7a208ca 100644
--- a/libnm-glib/nm-secret-agent.c
+++ b/libnm-glib/nm-secret-agent.c
@@ -99,7 +99,7 @@ enum {
static guint signals[LAST_SIGNAL] = { 0 };
-/********************************************************************/
+/*****************************************************************************/
GQuark
nm_secret_agent_error_quark (void)
@@ -111,7 +111,7 @@ nm_secret_agent_error_quark (void)
return ret;
}
-/*************************************************************/
+/*****************************************************************************/
static const char *
get_nm_owner (NMSecretAgent *self)
@@ -512,7 +512,7 @@ impl_secret_agent_delete_secrets (NMSecretAgent *self,
g_object_unref (connection);
}
-/**************************************************************/
+/*****************************************************************************/
static void
reg_result (NMSecretAgent *self, GError *error)
@@ -692,7 +692,7 @@ auto_register_cb (gpointer user_data)
return FALSE;
}
-/**************************************************************/
+/*****************************************************************************/
/**
* nm_secret_agent_get_secrets:
@@ -796,7 +796,7 @@ nm_secret_agent_delete_secrets (NMSecretAgent *self,
user_data);
}
-/**************************************************************/
+/*****************************************************************************/
static gboolean
validate_identifier (const char *identifier)
diff --git a/libnm-glib/nm-types.c b/libnm-glib/nm-types.c
index 19f19e368d..5fe1eb535c 100644
--- a/libnm-glib/nm-types.c
+++ b/libnm-glib/nm-types.c
@@ -81,7 +81,7 @@ _nm_ssid_demarshal (GValue *value, GByteArray **dest)
return TRUE;
}
-/*****************************/
+/*****************************************************************************/
static gpointer
_nm_uint_array_copy (GArray *src)
@@ -133,7 +133,7 @@ _nm_uint_array_demarshal (GValue *value, GArray **dest)
return TRUE;
}
-/*****************************/
+/*****************************************************************************/
static gpointer
_nm_string_array_copy (GPtrArray *src)
@@ -194,7 +194,7 @@ _nm_string_array_demarshal (GValue *value, GPtrArray **dest)
return TRUE;
}
-/*****************************/
+/*****************************************************************************/
static gpointer
_nm_object_array_copy (GPtrArray *src)
@@ -276,7 +276,7 @@ _nm_object_array_demarshal (GValue *value,
return TRUE;
}
-/*****************************/
+/*****************************************************************************/
static gpointer
_nm_ip6_address_object_array_copy (GPtrArray *src)
@@ -312,7 +312,7 @@ nm_ip6_address_object_array_get_type (void)
return our_type;
}
-/*****************************/
+/*****************************************************************************/
static gpointer
_nm_ip6_address_array_copy (GPtrArray *src)
@@ -384,7 +384,7 @@ _nm_ip6_address_array_demarshal (GValue *value, GSList **dest)
return TRUE;
}
-/*****************************/
+/*****************************************************************************/
static gpointer
_nm_ip6_route_object_array_copy (GPtrArray *src)
diff --git a/libnm-glib/nm-vpn-plugin-ui-interface.h b/libnm-glib/nm-vpn-plugin-ui-interface.h
index e671e6cfac..37fde91f8c 100644
--- a/libnm-glib/nm-vpn-plugin-ui-interface.h
+++ b/libnm-glib/nm-vpn-plugin-ui-interface.h
@@ -38,9 +38,9 @@ typedef NMVpnPluginUiInterface * (*NMVpnPluginUiFactory) (GError **error);
NMVpnPluginUiInterface *nm_vpn_plugin_ui_factory (GError **error);
-/**************************************************/
+/*****************************************************************************/
/* Plugin interface */
-/**************************************************/
+/*****************************************************************************/
#define NM_TYPE_VPN_PLUGIN_UI_INTERFACE (nm_vpn_plugin_ui_interface_get_type ())
#define NM_VPN_PLUGIN_UI_INTERFACE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), NM_TYPE_VPN_PLUGIN_UI_INTERFACE, NMVpnPluginUiInterface))
@@ -174,9 +174,9 @@ gboolean nm_vpn_plugin_ui_interface_delete_connection (NMVpnPluginUiInterface *i
GError **error);
-/**************************************************/
+/*****************************************************************************/
/* UI widget interface */
-/**************************************************/
+/*****************************************************************************/
#define NM_TYPE_VPN_PLUGIN_UI_WIDGET_INTERFACE (nm_vpn_plugin_ui_widget_interface_get_type ())
#define NM_VPN_PLUGIN_UI_WIDGET_INTERFACE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), NM_TYPE_VPN_PLUGIN_UI_WIDGET_INTERFACE, NMVpnPluginUiWidgetInterface))
diff --git a/libnm-glib/nm-vpn-plugin.c b/libnm-glib/nm-vpn-plugin.c
index 0534b766e8..0ea30b58a3 100644
--- a/libnm-glib/nm-vpn-plugin.c
+++ b/libnm-glib/nm-vpn-plugin.c
@@ -508,7 +508,7 @@ impl_vpn_plugin_connect_interactive (NMVPNPlugin *plugin,
return _connect_generic (plugin, connection, details, error);
}
-/***************************************************************/
+/*****************************************************************************/
static gboolean
impl_vpn_plugin_need_secrets (NMVPNPlugin *plugin,
@@ -635,7 +635,7 @@ nm_vpn_plugin_secrets_required (NMVPNPlugin *plugin,
g_signal_emit (plugin, signals[SECRETS_REQUIRED], 0, message, hints);
}
-/***************************************************************/
+/*****************************************************************************/
static gboolean
impl_vpn_plugin_disconnect (NMVPNPlugin *plugin,
@@ -684,7 +684,7 @@ impl_vpn_plugin_set_failure (NMVPNPlugin *plugin,
return TRUE;
}
-/*********************************************************************/
+/*****************************************************************************/
static void
sigterm_handler (int signum)
@@ -706,7 +706,7 @@ setup_unix_signal_handler (void)
sigaction (SIGTERM, &action, NULL);
}
-/*********************************************************************/
+/*****************************************************************************/
static void
one_plugin_destroyed (gpointer data,
diff --git a/libnm-glib/nm-wimax-nsp.c b/libnm-glib/nm-wimax-nsp.c
index 6a3b8effab..9e36e5b9d0 100644
--- a/libnm-glib/nm-wimax-nsp.c
+++ b/libnm-glib/nm-wimax-nsp.c
@@ -198,7 +198,7 @@ nm_wimax_nsp_filter_connections (NMWimaxNsp *nsp, const GSList *connections)
return g_slist_reverse (filtered);
}
-/************************************************************/
+/*****************************************************************************/
static void
nm_wimax_nsp_init (NMWimaxNsp *nsp)
diff --git a/libnm-glib/tests/test-nm-client.c b/libnm-glib/tests/test-nm-client.c
index 0da93c3fd3..b6b5968b3f 100644
--- a/libnm-glib/tests/test-nm-client.c
+++ b/libnm-glib/tests/test-nm-client.c
@@ -39,7 +39,7 @@
static GMainLoop *loop = NULL;
static NMTstcServiceInfo *sinfo;
-/*******************************************************************/
+/*****************************************************************************/
static gboolean
loop_quit (gpointer user_data)
@@ -93,7 +93,7 @@ add_wired_device (const char *method, const char *ifname, char **out_path)
return TRUE;
}
-/*******************************************************************/
+/*****************************************************************************/
typedef struct {
GMainLoop *loop;
@@ -197,7 +197,7 @@ test_device_added (void)
g_clear_pointer (&sinfo, nmtstc_service_cleanup);
}
-/*******************************************************************/
+/*****************************************************************************/
static const char *expected_bssid = "66:55:44:33:22:11";
@@ -420,7 +420,7 @@ test_wifi_ap_added_removed (void)
g_clear_pointer (&sinfo, nmtstc_service_cleanup);
}
-/*******************************************************************/
+/*****************************************************************************/
static const char *expected_nsp_name = "Clear";
@@ -643,7 +643,7 @@ test_wimax_nsp_added_removed (void)
g_clear_pointer (&sinfo, nmtstc_service_cleanup);
}
-/*******************************************************************/
+/*****************************************************************************/
typedef struct {
GMainLoop *loop;
@@ -873,7 +873,7 @@ test_client_manager_running (void)
g_object_unref (client2);
}
-/*******************************************************************/
+/*****************************************************************************/
static GPtrArray *
_slist_to_array (GPtrArray **connections, GSList *list)
@@ -1121,7 +1121,7 @@ test_connection_invalid (void)
#undef ASSERT_IDX
}
-/*******************************************************************/
+/*****************************************************************************/
NMTST_DEFINE ();
diff --git a/libnm-glib/tests/test-remote-settings-client.c b/libnm-glib/tests/test-remote-settings-client.c
index 9213aa720e..57bc4faa61 100644
--- a/libnm-glib/tests/test-remote-settings-client.c
+++ b/libnm-glib/tests/test-remote-settings-client.c
@@ -41,7 +41,7 @@ static NMRemoteSettings *settings = NULL;
DBusGConnection *bus = NULL;
NMRemoteConnection *remote = NULL;
-/*******************************************************************/
+/*****************************************************************************/
static void
add_cb (NMRemoteSettings *s,
@@ -105,7 +105,7 @@ test_add_connection (void)
NM_SETTING_COMPARE_FLAG_EXACT) == TRUE);
}
-/*******************************************************************/
+/*****************************************************************************/
static void
set_visible_cb (DBusGProxy *proxy,
@@ -192,7 +192,7 @@ test_make_invisible (void)
g_object_unref (proxy);
}
-/*******************************************************************/
+/*****************************************************************************/
static void
vis_new_connection_cb (NMRemoteSettings *foo,
@@ -262,7 +262,7 @@ test_make_visible (void)
g_object_unref (proxy);
}
-/*******************************************************************/
+/*****************************************************************************/
static void
deleted_cb (DBusGProxy *proxy,
@@ -336,7 +336,7 @@ test_remove_connection (void)
g_object_unref (proxy);
}
-/*******************************************************************/
+/*****************************************************************************/
static GMainLoop *loop;
@@ -418,7 +418,7 @@ test_service_running (void)
g_object_unref (settings2);
}
-/*******************************************************************/
+/*****************************************************************************/
NMTST_DEFINE ();