diff options
author | Frederic Martinsons <frederic.martinsons@sigfox.com> | 2021-10-15 08:38:50 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2021-10-22 13:48:13 +0200 |
commit | 0510e9aef8818eeaa445aea246b670871c671ddb (patch) | |
tree | 131380f2a6d70eeb880cbe9b216ef006b4eb1604 /libmm-glib/mm-common-helpers.h | |
parent | 53bcdaa8c3962abbf2a2f638c64173a7657ab560 (diff) |
api,bearer: new 'start-date' field in bearer statistics
It stores the epoch timestamp of the current bearer session start.
If there is no connected bearer, it is set to 0 and not displayed
in mmcli output.
Signed-off-by: Frederic Martinsons <frederic.martinsons@sigfox.com>
Includes updates by Aleksander Morgado to fix coding style issues.
Diffstat (limited to 'libmm-glib/mm-common-helpers.h')
-rw-r--r-- | libmm-glib/mm-common-helpers.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libmm-glib/mm-common-helpers.h b/libmm-glib/mm-common-helpers.h index 719ab2c1..c4720e58 100644 --- a/libmm-glib/mm-common-helpers.h +++ b/libmm-glib/mm-common-helpers.h @@ -190,6 +190,7 @@ gboolean mm_get_double_from_match_info (GMatchInfo *match_info, gdouble *out); gchar *mm_get_string_unquoted_from_match_info (GMatchInfo *match_info, guint32 match_index); +gchar *mm_format_iso8601 (guint64 timestamp); /******************************************************************************/ /* Type checkers and conversion utilities */ |