Commit fc1feadb authored by Mark Andrews's avatar Mark Andrews
Browse files

Add ISC_SOCKADDR_FORMATSIZE macro.

parent 9b171934
...@@ -119,6 +119,9 @@ isc_sockaddr_format(isc_sockaddr_t *sa, char *array, unsigned int size); ...@@ -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. * 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 ISC_LANG_ENDDECLS
#endif /* ISC_SOCKADDR_H */ #endif /* ISC_SOCKADDR_H */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment