summary refs log tree commit diff stats
path: root/tests/test-io-channel-socket.c
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2017-04-26 09:36:36 +0200
committerMarkus Armbruster <armbru@redhat.com>2017-05-09 09:14:40 +0200
commit4db5c619a2f03c2ee25105b4f6359075c825aecc (patch)
tree18df24c8616416fa175b97c3cabeeb17c4c1ddb4 /tests/test-io-channel-socket.c
parent5229564b832e979f480011bae372ff849dbf320a (diff)
downloadfocaccia-qemu-4db5c619a2f03c2ee25105b4f6359075c825aecc.tar.gz
focaccia-qemu-4db5c619a2f03c2ee25105b4f6359075c825aecc.zip
sockets: Prepare vsock_parse() for flattened SocketAddress
I'm going to flatten SocketAddress: rename SocketAddress to
SocketAddressLegacy, SocketAddressFlat to SocketAddress, eliminate
SocketAddressLegacy except in external interfaces.

vsock_parse() returns a newly allocated VsockSocketAddress.  Lift the
allocation from vsock_parse() into its caller socket_parse() to
prepare for flattening SocketAddress.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <1493192202-3184-2-git-send-email-armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'tests/test-io-channel-socket.c')
0 files changed, 0 insertions, 0 deletions