diff options
Diffstat (limited to 'src/mm-base-bearer.h')
-rw-r--r-- | src/mm-base-bearer.h | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/src/mm-base-bearer.h b/src/mm-base-bearer.h index 2c196f67..58954d40 100644 --- a/src/mm-base-bearer.h +++ b/src/mm-base-bearer.h @@ -10,10 +10,10 @@ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details: * - * Author: Aleksander Morgado <aleksander@lanedo.com> - * + * Copyright (C) 2011 Google, Inc. - * Copyright (C) 2011 - 2013 Aleksander Morgado <aleksander@gnu.org> + * Copyright (C) 2015 Azimut Electronics + * Copyright (C) 2011 - 2015 Aleksander Morgado <aleksander@aleksander.es> */ #ifndef MM_BASE_BEARER_H @@ -101,6 +101,16 @@ struct _MMBaseBearerClass { GAsyncResult *res, GError **error); + /* Reload statistics */ + void (* reload_stats) (MMBaseBearer *bearer, + GAsyncReadyCallback callback, + gpointer user_data); + gboolean (* reload_stats_finish) (MMBaseBearer *bearer, + guint64 *bytes_rx, + guint64 *bytes_tx, + GAsyncResult *res, + GError **error); + /* Report connection status of this bearer */ void (* report_connection_status) (MMBaseBearer *bearer, MMBearerConnectionStatus status); |