diff options
author | laforge <laforge@99fdad57-331a-0410-800a-d7fa5415bdb3> | 2007-07-31 07:38:23 +0000 |
---|---|---|
committer | laforge <laforge@99fdad57-331a-0410-800a-d7fa5415bdb3> | 2007-07-31 07:38:23 +0000 |
commit | d5876c34c4b6096479e2165ad21ef524206413a8 (patch) | |
tree | 22f20f1fd30e45ecfa7748a714b71534fdb04c71 /src/libgsmd/libgsmd_input.c | |
parent | 5dcc1231bd8895cc3364b573116f5b91ef41e327 (diff) |
Add '2nd try' of the multiline parser:
Every extended response causes a flush of the previous mlbuf and starts
collecting new response lines. Also, final_cb is now really only reached for
final responses and the code for case 'A' won't overwrite the command buffer
with the response anymore. I throw in '\n' as a separator for multi-line
responses, and the callback is called for each response this way.
(Philipp Zabel)
git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@2581 99fdad57-331a-0410-800a-d7fa5415bdb3
Diffstat (limited to 'src/libgsmd/libgsmd_input.c')
0 files changed, 0 insertions, 0 deletions