path: root/TODO-RELEASE
diff options
authorJacob Erlbeck <jerlbeck@sysmocom.de>2014-03-31 10:53:32 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-03-31 14:33:18 +0200
commit98af3c3a6df8fc6e8ef765b30aff2a013b9904fa (patch)
treeccf17e6985872dd4778f6ead301f02b03c7ebc86 /TODO-RELEASE
parent36106ae24475f5742dd3335c1bbe4d5e5321912e (diff)
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
Diffstat (limited to 'TODO-RELEASE')
1 files changed, 1 insertions, 0 deletions
index 43b1e8e..71931db 100644
@@ -1 +1,2 @@
#library what description / commit summary line
+libosmoabis abi-change ipa: Change ipa_msg_recv() to support partial receive