diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2011-09-09 23:56:22 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-03-15 14:14:20 +0100 |
commit | 6816c2e61def241eb2a991a11c21da699b06b54f (patch) | |
tree | cd83b62265f44cefd7ce95649cd2ecb3f624c9d8 /src/mm-port-probe.h | |
parent | d7238403c485d040dc77b3c2e428b876c3b33bdf (diff) |
port-probe: enable probing for AT support
We will initially probe for AT support in the port.
Diffstat (limited to 'src/mm-port-probe.h')
-rw-r--r-- | src/mm-port-probe.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mm-port-probe.h b/src/mm-port-probe.h index e2eff8a6..127f2263 100644 --- a/src/mm-port-probe.h +++ b/src/mm-port-probe.h @@ -30,6 +30,9 @@ #define MM_IS_PLUBIN_PROBE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MM_TYPE_PORT_PROBE)) #define MM_PORT_PROBE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MM_TYPE_PORT_PROBE, MMPortProbeClass)) +/* Flags to request port probing */ +#define MM_PORT_PROBE_AT 0x0001 + typedef struct _MMPortProbe MMPortProbe; typedef struct _MMPortProbeClass MMPortProbeClass; typedef struct _MMPortProbePrivate MMPortProbePrivate; @@ -57,6 +60,8 @@ const gchar *mm_port_probe_get_port_driver (MMPortProbe *self); /* Run probing */ void mm_port_probe_run (MMPortProbe *self, + guint32 flags, + guint64 at_send_delay, GAsyncReadyCallback callback, gpointer user_data); gboolean mm_port_probe_run_finish (MMPortProbe *self, @@ -64,5 +69,8 @@ gboolean mm_port_probe_run_finish (MMPortProbe *self, GError **error); gboolean mm_port_probe_run_cancel (MMPortProbe *self); +/* Probing result getters */ +gboolean mm_port_probe_is_at (MMPortProbe *self); + #endif /* MM_PORT_PROBE_H */ |