summaryrefslogtreecommitdiffstats
path: root/lib/pthread_safe.h
diff options
context:
space:
mode:
authorChris Hall <GMCH@hestia.halldom.com>2010-04-11 11:17:37 +0100
committerChris Hall <GMCH@hestia.halldom.com>2010-04-11 11:17:37 +0100
commitb878aa88eb8bb7ab74e24314e87c88586f15598d (patch)
treeb51690eff9070c419dbe99602b9a974d82f8aaed /lib/pthread_safe.h
parent83447a051fbcc88b33fcea6670520687668d3ba1 (diff)
downloadquagga-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/pthread_safe.h')
-rw-r--r--lib/pthread_safe.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/pthread_safe.h b/lib/pthread_safe.h
index 0b2d7cdf..9518f3d1 100644
--- a/lib/pthread_safe.h
+++ b/lib/pthread_safe.h
@@ -39,4 +39,8 @@ extern strerror_t errtoa(int err, int len) ;
extern strerror_t errtoname(int err, int len) ;
extern strerror_t errtostr(int err, int len) ;
+extern strerror_t eaitoa(int eai, int err, int len) ;
+extern strerror_t eaitoname(int eai, int err, int len) ;
+extern strerror_t eaitostr(int eai, int err, int len) ;
+
#endif /* PTHREAD_SAFE_H_ */