aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmdsclient/address.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-08-26 02:17:12 +0200
committerMattias Andrée <maandree@operamail.com>2015-08-26 02:17:12 +0200
commit92a6194673aa19fe9db5f6f32ce95972700daf11 (patch)
tree79b4d95c29b3777c21995ebdd85c2d59a4afafd4 /src/libmdsclient/address.h
parentlibmdsclient: connect to the display (parsing is not yet implemented) (diff)
downloadmds-92a6194673aa19fe9db5f6f32ce95972700daf11.tar.gz
mds-92a6194673aa19fe9db5f6f32ce95972700daf11.tar.bz2
mds-92a6194673aa19fe9db5f6f32ce95972700daf11.tar.xz
libmdsclient: implement support for domain sockets
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/libmdsclient/address.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libmdsclient/address.h b/src/libmdsclient/address.h
index b094772..88ad4d3 100644
--- a/src/libmdsclient/address.h
+++ b/src/libmdsclient/address.h
@@ -74,8 +74,9 @@ typedef struct libmds_display_address
* @return Zero on success, even if parsing failed, -1 on error,
* `errno` will have been set accordinly on error
*
- * @throws ENOMEM Out of memory. Possibly, the application hit the
- * RLIMIT_AS or RLIMIT_DATA limit described in getrlimit(2).
+ * @throws ENOMEM Out of memory. Possibly, the application hit the
+ * RLIMIT_AS or RLIMIT_DATA limit described in getrlimit(2).
+ * @throws ENAMETOOLONG The filename of the target socket is too long
*/
__attribute__((nonnull))
int libmds_parse_display_adress(const char* restrict display, libmds_display_address_t* restrict address);