diff options
author | Chris Hall <GMCH@hestia.halldom.com> | 2010-04-11 11:17:37 +0100 |
---|---|---|
committer | Chris Hall <GMCH@hestia.halldom.com> | 2010-04-11 11:17:37 +0100 |
commit | b878aa88eb8bb7ab74e24314e87c88586f15598d (patch) | |
tree | b51690eff9070c419dbe99602b9a974d82f8aaed /lib/errno_names.h | |
parent | 83447a051fbcc88b33fcea6670520687668d3ba1 (diff) | |
download | quagga-b878aa88eb8bb7ab74e24314e87c88586f15598d.tar.bz2 quagga-b878aa88eb8bb7ab74e24314e87c88586f15598d.tar.xz |
Support gai_strerror() and tidy bgp_listener code.
Added support for EAI_XXX error names and gai_strerror() error
messages.
Tidied up bgp_listener set up to remove #if skips around the
"old" way -- so that the older code doesn't simply rot away.
Diffstat (limited to 'lib/errno_names.h')
-rw-r--r-- | lib/errno_names.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/errno_names.h b/lib/errno_names.h index f095640d..a4f1f2e3 100644 --- a/lib/errno_names.h +++ b/lib/errno_names.h @@ -23,4 +23,9 @@ #define EOK 0 #endif +#ifndef EAI_OK +#define EAI_OK 0 +#endif + extern const char* errno_name_lookup(int err) ; +extern const char* eaino_name_lookup(int err) ; |