diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2011-05-11 16:40:45 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2011-06-06 17:20:17 +0200 |
commit | 22f15b87b53b60e627b00a51781234a27a677594 (patch) | |
tree | aaa4ae687ede6f81cee3fe8529f2eb40b509ce8f /src/mm-modem-base.h | |
parent | f2ba435446a48407f4a491d0fa0eda6b7d4c22d9 (diff) |
base: disable the modem if up to N consecutive commands get timed out
This feature is initially disabled for all modems, but plugins can enable it by
setting a value greater than 0 for the "max-timeouts" property when creating the
modem object.
Diffstat (limited to 'src/mm-modem-base.h')
-rw-r--r-- | src/mm-modem-base.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mm-modem-base.h b/src/mm-modem-base.h index 04099577..933aae11 100644 --- a/src/mm-modem-base.h +++ b/src/mm-modem-base.h @@ -35,6 +35,8 @@ typedef struct _MMModemBase MMModemBase; typedef struct _MMModemBaseClass MMModemBaseClass; +#define MM_MODEM_BASE_MAX_TIMEOUTS "max-timeouts" + struct _MMModemBase { GObject parent; }; |