Code

frontend, proto: Include the response data type in query replies.
authorSebastian Harl <sh@tokkee.org>
Sun, 14 Sep 2014 10:14:48 +0000 (12:14 +0200)
committerSebastian Harl <sh@tokkee.org>
Sun, 14 Sep 2014 10:14:48 +0000 (12:14 +0200)
commitee8df3b190c2eb49e460dcf03f81288a5d825c39
tree06344fc661fbc783ef4a95fbb408401929e78bfd
parent210fe5d90e273805bdf764adc6167cdbf17c82b5
frontend, proto: Include the response data type in query replies.

For that purpose, use the newly added CONNECTION_DATA status instead of
CONNECTION_OK for query replies and include the data type as the first field
in the message body. The type is the same as the respective command type.
src/frontend/query.c
src/include/frontend/proto.h
src/tools/sysdb/command.c
src/tools/sysdb/main.c