Subject: libosmo-abis.git branch master updated. v0.1.6-4-g98af3c3
From: [email-masked]
To: [email-masked]
Date: Mon, 31 Mar 2014 13:20:35 GMT

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Osmocom A-bis protcol interface library".

The branch, master has been updated
       via  98af3c3a6df8fc6e8ef765b30aff2a013b9904fa (commit)
      from  36106ae24475f5742dd3335c1bbe4d5e5321912e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://cgit.osmocom.org/libosmo-abis/commit/?id=98af3c3a6df8fc6e8ef765b30aff2a013b9904fa

commit 98af3c3a6df8fc6e8ef765b30aff2a013b9904fa
Author: Jacob Erlbeck <[email-masked]>
Date:   Mon Mar 31 10:53:32 2014 +0200

    ipa: Change ipa_msg_recv() to support partial receive
    
    Currently ipa_msg_recv() fails, when messages are received partially.
    
    This patch provides a new function ipa_msg_recv_buffered() that uses
    an additional ** to a message buffer to store partial data.  When
    this happens, -EAGAIN is returned. If NULL is used, the function
    behaves similar to ipa_msg_recv() and fails on partial read.
    In addition in case of errors the return value is now always -EXXX
    and the contents of errno is undefined.
    
    Note that this feature needs support by the calling code insofar that
    *tmp_msg must be set to NULL initially and it must be freed and
    set to NULL manually when the socket is closed.
    
    Note also that ipa_msg_recv() is then a wrapper around
    ipa_msg_recv_buffered() which mimics the old error behaviour by
    setting errno explicitely to -rc and returning -1 when an error has
    happened.
    
    Ticket: OW#728
    Sponsored-by: On-Waves ehf

-----------------------------------------------------------------------

Summary of changes:
 TODO-RELEASE                    |   1 +
 include/osmocom/abis/e1_input.h |   2 +
 include/osmocom/abis/ipa.h      |   3 +
 src/input/ipa.c                 | 151 +++++++++++++++++++++++++++++++---------
 src/input/ipaccess.c            |  13 +++-
 tests/ipa_recv/ipa_recv_test.c  |  55 ++++++++++-----
 tests/ipa_recv/ipa_recv_test.ok |  27 ++++++-
 7 files changed, 198 insertions(+), 54 deletions(-)

hooks/post-receive
-- 
Osmocom A-bis protcol interface library