[network-manager-openvpn] properties/trival: code comments
- From: Thomas Haller <thaller src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-openvpn] properties/trival: code comments
- Date: Wed, 23 Mar 2016 16:15:34 +0000 (UTC)
commit 04bc2c58ba4eafa838eb0a497a0221233fbcc41a
Author: Thomas Haller <thaller redhat com>
Date: Sat Mar 19 20:57:13 2016 +0100
properties/trival: code comments
properties/import-export.c | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/properties/import-export.c b/properties/import-export.c
index 03a6baf..8754eec 100644
--- a/properties/import-export.c
+++ b/properties/import-export.c
@@ -93,6 +93,8 @@
const char *_nmovpn_test_temp_path = NULL;
+/*****************************************************************************/
+
static gboolean
_is_utf8 (const char *str)
{
@@ -101,6 +103,8 @@ _is_utf8 (const char *str)
return g_utf8_validate (str, -1, NULL);
}
+/*****************************************************************************/
+
static void
__attribute__((__format__ (__printf__, 3, 4)))
setting_vpn_add_data_item_v (NMSettingVpn *setting,
@@ -196,6 +200,8 @@ setting_vpn_eq_data_item_utf8safe (NMSettingVpn *setting,
return nm_streq (expected_value, nmv_utils_str_utf8safe_unescape_c (s, &s_free));
}
+/*****************************************************************************/
+
static gboolean
args_params_check_nargs_minmax (const char **params, guint nargs_min, guint nargs_max, char **out_error)
{
@@ -365,6 +371,8 @@ args_params_error_message_invalid_arg (const char **params, guint n_param)
return g_strdup_printf (_("invalid %uth argument to '%s'"), n_param, params[0]);
}
+/*****************************************************************************/
+
static char
_ch_step_1 (const char **str, gsize *len)
{
@@ -579,6 +587,8 @@ args_next_line (const char **content,
return TRUE;
}
+/*****************************************************************************/
+
static gboolean
parse_http_proxy_auth (const char *default_path,
const char *file,
@@ -1490,6 +1500,8 @@ out_error:
return NULL;
}
+/*****************************************************************************/
+
gboolean
do_export (const char *path, NMConnection *connection, GError **error)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]