2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

Add ISC_SOCKADDR_FORMATSIZE macro.

This commit is contained in:
Mark Andrews
2000-05-17 02:20:58 +00:00
parent 9b171934ef
commit fc1feadb61

View File

@@ -119,6 +119,9 @@ isc_sockaddr_format(isc_sockaddr_t *sa, char *array, unsigned int size);
* The resulting string is guaranteed to be null-terminated.
*/
#define ISC_SOCKADDR_FORMATSIZE \
sizeof("xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:XXX.XXX.XXX.XXX#YYYYY")
ISC_LANG_ENDDECLS
#endif /* ISC_SOCKADDR_H */