LP#1709710: Make chunk sizing smart about XML quoting
[opensrf-equinox.git] / include / opensrf / utils.h
index 2276dd6..34e0ba6 100644 (file)
@@ -377,6 +377,12 @@ char* md5sum( const char* text, ... );
 */
 int osrfUtilsCheckFileDescriptor( int fd );
 
+/*
+       Returns the approximate additional length of
+       a string after XML escaping <, >, &, and ".
+*/
+size_t osrfXmlEscapingLength ( const char* str );
+
 #ifdef __cplusplus
 }
 #endif