diff options
author | Mattias Andrée <maandree@operamail.com> | 2015-08-28 04:23:23 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2015-08-28 04:23:23 +0200 |
commit | fa2eff4928087199759a0be48103ee4a8f243083 (patch) | |
tree | 2559fdc2797b7108926db514cb626102585faa8c /src/libmdsclient/address.h | |
parent | update gitignore (diff) | |
download | mds-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.h | 8 |
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; |