projects
/
opensrf-equinox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
LP#1709710: Make chunk sizing smart about XML quoting
[opensrf-equinox.git]
/
include
/
opensrf
/
utils.h
diff --git
a/include/opensrf/utils.h
b/include/opensrf/utils.h
index
2276dd6
..
34e0ba6
100644
(file)
--- a/
include/opensrf/utils.h
+++ b/
include/opensrf/utils.h
@@
-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