diff options
author | Tambet Ingo <tambet@gmail.com> | 2008-09-11 08:35:32 +0300 |
---|---|---|
committer | Tambet Ingo <tambet@gmail.com> | 2008-09-11 08:35:32 +0300 |
commit | ac4409e7cea29e03d311e6b805a084837d8bb70f (patch) | |
tree | 6b534ff91a3976a0268a89c858543bc973b17f8c /src/mm-callback-info.h | |
parent | bb874acea0c8552f86932084e222b45a94119f29 (diff) |
Rewrite serial device communications.
Instead of vague "send something, wait something" the responses are now
analyzed by (overridable) parsers. Makes all the modem implementations much
easier since each caller knows without any code whether the call succeeded
or failed.
Another thing that makes modem code simpler (and the whole thing more robust),
is the queueing of sent commands. Each queued command has a command and a
callback which is quaranteed to get called, even if sending failed.
Define and implement error reporting.
Diffstat (limited to 'src/mm-callback-info.h')
-rw-r--r-- | src/mm-callback-info.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mm-callback-info.h b/src/mm-callback-info.h index eef2073f..5c461c58 100644 --- a/src/mm-callback-info.h +++ b/src/mm-callback-info.h @@ -31,8 +31,6 @@ MMCallbackInfo *mm_callback_info_string_new (MMModem *modem, gpointer user_data); void mm_callback_info_schedule (MMCallbackInfo *info); -void mm_callback_info_cancel (MMCallbackInfo *info); - void mm_callback_info_set_result (MMCallbackInfo *info, gpointer data, GDestroyNotify destroy); |