diff options
Diffstat (limited to 'libmm-glib/mm-bearer-stats.h')
-rw-r--r-- | libmm-glib/mm-bearer-stats.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libmm-glib/mm-bearer-stats.h b/libmm-glib/mm-bearer-stats.h index 000bd07b..bfaba1dd 100644 --- a/libmm-glib/mm-bearer-stats.h +++ b/libmm-glib/mm-bearer-stats.h @@ -63,6 +63,9 @@ guint64 mm_bearer_stats_get_rx_bytes (MMBearerStats *self); guint64 mm_bearer_stats_get_tx_bytes (MMBearerStats *self); guint mm_bearer_stats_get_attempts (MMBearerStats *self); guint mm_bearer_stats_get_failed_attempts (MMBearerStats *self); +guint mm_bearer_stats_get_total_duration (MMBearerStats *self); +guint64 mm_bearer_stats_get_total_rx_bytes (MMBearerStats *self); +guint64 mm_bearer_stats_get_total_tx_bytes (MMBearerStats *self); /*****************************************************************************/ /* ModemManager/libmm-glib/mmcli specific methods */ @@ -80,6 +83,9 @@ void mm_bearer_stats_set_rx_bytes (MMBearerStats *self, guint64 rx_b void mm_bearer_stats_set_tx_bytes (MMBearerStats *self, guint64 tx_bytes); void mm_bearer_stats_set_attempts (MMBearerStats *self, guint attempts); void mm_bearer_stats_set_failed_attempts (MMBearerStats *self, guint failed_attempts); +void mm_bearer_stats_set_total_duration (MMBearerStats *self, guint duration); +void mm_bearer_stats_set_total_rx_bytes (MMBearerStats *self, guint64 rx_bytes); +void mm_bearer_stats_set_total_tx_bytes (MMBearerStats *self, guint64 tx_bytes); GVariant *mm_bearer_stats_get_dictionary (MMBearerStats *self); |