aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmdsclient/address.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-08-28 04:23:23 +0200
committerMattias Andrée <maandree@operamail.com>2015-08-28 04:23:23 +0200
commitfa2eff4928087199759a0be48103ee4a8f243083 (patch)
tree2559fdc2797b7108926db514cb626102585faa8c /src/libmdsclient/address.h
parentupdate gitignore (diff)
downloadmds-fa2eff4928087199759a0be48103ee4a8f243083.tar.gz
mds-fa2eff4928087199759a0be48103ee4a8f243083.tar.bz2
mds-fa2eff4928087199759a0be48103ee4a8f243083.tar.xz
implement inet address parsing
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/libmdsclient/address.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/libmdsclient/address.h b/src/libmdsclient/address.h
index 88ad4d3..3a79373 100644
--- a/src/libmdsclient/address.h
+++ b/src/libmdsclient/address.h
@@ -63,6 +63,14 @@ typedef struct libmds_display_address
*/
socklen_t address_len;
+ /**
+ * Code for an error that has occured
+ * when parsing the address, whose
+ * description can be retrieved using
+ * `gia_strerror`, zero if none
+ */
+ int gai_error;
+
} libmds_display_address_t;