From 92a6194673aa19fe9db5f6f32ce95972700daf11 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 26 Aug 2015 02:17:12 +0200 Subject: libmdsclient: implement support for domain sockets MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/libmdsclient/comm.c | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'src/libmdsclient/comm.c') diff --git a/src/libmdsclient/comm.c b/src/libmdsclient/comm.c index 11d03d4..a4c5fff 100644 --- a/src/libmdsclient/comm.c +++ b/src/libmdsclient/comm.c @@ -24,8 +24,6 @@ #include #include -#include - #define min(a, b) ((a) < (b) ? (a) : (b)) @@ -137,12 +135,13 @@ void libmds_connection_free(libmds_connection_t* restrict this) * otherwise, `errno` will have been set to describe * the error. * - * @throws EFAULT If the display server's address is not properly - * formatted, or specifies an unsupported protocol, - * `libmds_parse_display_adress` can be used to - * figure out what is wrong. - * @throws Any error specified for socket(2) - * @throws Any error specified for connect(2), except EINTR + * @throws EFAULT If the display server's address is not properly + * formatted, or specifies an unsupported protocol, + * `libmds_parse_display_adress` can be used to + * figure out what is wrong. + * @throws ENAMETOOLONG The filename of the target socket is too long + * @throws Any error specified for socket(2) + * @throws Any error specified for connect(2), except EINTR */ int libmds_connection_establish(libmds_connection_t* restrict this, const char** restrict display) { -- cgit v1.2.3-70-g09d2