author | Sebastian Harl <sh@tokkee.org> | |
Thu, 6 Feb 2014 08:19:31 +0000 (09:19 +0100) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Thu, 6 Feb 2014 08:19:31 +0000 (09:19 +0100) | ||
commit | bcc0deb7ce9e8d135afe01ab0f09aab0c378d47c | |
tree | da30a7d20d9cee257316ce569464f2913d9ce8ba | tree | snapshot |
parent | 7b0d0d7f084465e71ac2fcfbe4efffa71a69a8d0 | commit | diff |
client: Added an EOF flag to the client object.
In a lot of cases, a client is passed through a couple of functions in order
to handle I/O. Adding the flag will make it easier to access the information
in the right location without having to worry about 0 return codes (which mean
different things in some cases anyway, e.g. in sdb_client_recv() which returns
zero if an empty message (header only) has been received).
In a lot of cases, a client is passed through a couple of functions in order
to handle I/O. Adding the flag will make it easier to access the information
in the right location without having to worry about 0 return codes (which mean
different things in some cases anyway, e.g. in sdb_client_recv() which returns
zero if an empty message (header only) has been received).
src/client/sock.c | diff | blob | history | |
src/include/client/sock.h | diff | blob | history |