Code

proto: Let unmarshal functions return the number of bytes processed.
authorSebastian Harl <sh@tokkee.org>
Mon, 29 Dec 2014 15:53:44 +0000 (16:53 +0100)
committerSebastian Harl <sh@tokkee.org>
Mon, 29 Dec 2014 15:53:44 +0000 (16:53 +0100)
commitd25f3c59b5cf5387acd4e6d1467ce9efffa40f9a
treefbf911c286b012299b6a7bab4d6df413236df671
parent4b1c3e70c727641934d697339cad02cda0a3c565
proto: Let unmarshal functions return the number of bytes processed.

That's a more flexible and straight-forward interface allowing callers to not
care about the size of the expected data.
src/client/sock.c
src/frontend/connection.c
src/frontend/query.c
src/include/utils/proto.h
src/tools/sysdb/command.c
src/utils/proto.c